Skip to content

Product bundle won't start on linux #1543

@woodz-

Description

@woodz-

My ubuntu's java version:

$ java --version
openjdk 11.0.17 2022-10-18 LTS
OpenJDK Runtime Environment Zulu11.60+19-CA (build 11.0.17+8-LTS)
OpenJDK 64-Bit Server VM Zulu11.60+19-CA (build 11.0.17+8-LTS, mixed mode)

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:

  • Since it is a bundle, shouldn't it come with a fully featured java version?
  • Why are you then requiring to install a java from https://adoptopenjdk.net/?
  • And does it need to be exactly this type of java?
  • I have zulu, would this cause problems?
  • 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?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions