-
Notifications
You must be signed in to change notification settings - Fork 132
Product bundle won't start on linux #1543
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
1)Since it is a bundle, shouldn't it come with a fully featured java version? What do you mean with fully featured. As you are doing C++ development and not java a plain java runtime is enough. 2)Why are you then requiring to install a java from https://adoptopenjdk.net/? This is a new way for eclipse to bundle java without having to add files to the installation package. At startup the java runtime needed is identified and downloaded. 3)And does it need to be exactly this type of java? No. If eclipse finds a java that java will be used. However if this java is not valid you will get startup issues. Currently Java 17 is needed for CDT.
I don't know. 5)The vm option of the ini-file points to a somehow bundled java version 17.0.3, but the osgi.requiredJavaVersion of the vmargs wants version 11. Will this fit together? Current Sloeber release is compiled and compliant with java 11. However it is also dependent on CDT who's newest version requires java 17. |
I must admit fully featured was unclear. I meant an included jre. Meanwhile I got the secret lifted.
What remains confusing is, that CDT needs java 17, but the sitting on top sloeber got compiled with java 11. Both statements aren't true since sloeber runs with the bundled java 17 and |
Good you got it towork.
Indeed the lower than 16 requirement has been fixed and is no longer true. Where did you find that?
Again a "old statement" where did you find that (Honestly the documentation is getting more and more out of date) |
Workaround |
I have given the link, where I found the confusing statements in my previous post. They are in the bundle description |
The steps in your last comment are the same, I have given in my post and that is the solution that worked. Just read my comment above. |
I know just putting the 2 commands together with the word workaround as I tagged this issue with "workaround documented" |
Hello this workaround does not help completely
I tried solution described here.... restarted sloeber got this error: the directory extracted avr-1.8.6.tar.bz2 manually to /arduinoPlugin/packages/arduino/hardware/ Failed to install Arduino AVR Boards /arduinoPlugin/packages/arduino/hardware/ contains now two directories copied all from avr-1.8.6 to 1.8.6 expect now it should work created example sketch restarted sloeber |
Once things have gone bad it is best to clean up and retry.
|
Thank you very much !! with this cleaning sloeber starts, I can compile a complex project with several libraries. Perfect for me. matthias@aragon: /// here sloeber cannot install the AVR boards, I do the cleaning as recommended.... (Sloeber:2784): Gdk-CRITICAL **: 18:18:07.740: gdk_threads_set_lock_functions: assertion 'gdk_threads_lock == NULL && gdk_threads_unlock == NULL' failed (Sloeber:3531): Gdk-CRITICAL **: 18:36:46.703: gdk_threads_set_lock_functions: assertion 'gdk_threads_lock == NULL && gdk_threads_unlock == NULL' failed__ finishing the installation - sit back and relax |
works fine ! thank you very much |
I updated the website so I'm closing this issue. |
My ubuntu's java version:
After downloading your current product bundle
from this location, I encounter the following issues:
the
sloeber-ide
file needed to be made executable:$ chmod u+x sloeber-ide
running
$ ./sloeber-ide
gives an error:JVM terminated. Exit code=13 /home/woodz/Downloads/eclipse_22/Sloeber//plugins/org.eclipse.justj.openjd k.hotspot.jre.full.linux.x86_64_17.0.3.v20220515-1416/jre/bin/java
-Dosgi.requiredJavaVersion=11
-Dorg.eclipse.update.reconcile=false
-Dlog4j.configuration=log4j/log4j.xml
-Xms256m
-Xmx1024m
-jar
/home/woodz/Downloads/eclipse_22/Sloeber//plugins/org.eclipse.equinox.lau ncher_1.6.400.v20210924-0641.jar
-os linux
-ws gtk
-arch x86_64
-showsplash
-launcher /home/woodz/Downloads/eclipse_22/Sloeber/sloeber-ide
-name Sloeber-ide
--launcher.library
/home/woodz/Downloads/eclipse_22/Sloeber//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.2.500.v20220509-0833/eclipse_11701.so
-startup
/home/woodz/Downloads/eclipse_22/Sloeber//plugins/org.eclipse.equinox.launcher_1.6.400.v20210924-0641.jar
--launcher.appendVmargs
-exitdata 5e9004c
-perspective io.sloeber.application.perspective
-vm /home/woodz/Downloads/eclipse_22/Sloeber//plugins/org.eclipse.justj.openjdk.hotspot.jre.full.linux.x86_64_17.0.3.v20220515-1416/jre/bin/java
-vmargs
-Dosgi.requiredJavaVersion=11
-Dorg.eclipse.update.reconcile=false
-Dlog4j.configuration=log4j/log4j.xml
-Xms256m
-Xmx1024m
-jar /home/woodz/Downloads/eclipse_22/Sloeber//plugins/org.eclipse.equinox.launcher_1.6.400.v20210924-0641.jar
Now I have a number of questions:
osgi.requiredJavaVersion
of the vmargs wants version 11. Will this fit together?The text was updated successfully, but these errors were encountered: