Cosmic] Eclipse fails to start (installed through : sudo apt install eclipse)

Bug #1809302 reported by Arnaud
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
eclipse (Ubuntu)
New
Undecided
Unassigned

Bug Description

After installing Eclipse (), trying to start yields a popup with the following message (example) :
[beginning of message]
An error has occurred. See the log file
/home/arnaud/.eclipse/org.eclipse.platform_3.8_155965261/configuration/1543766365512.log
[end of message]

Each trial actually yields a different log file (with a different number in its name), but always with the same content, except for dates and hours in both first line which look like launch and error times respectively to me :
[beginning of file]
!SESSION Sun Dec 02 16:59:25 CET 2018 ------------------------------------------
!ENTRY org.eclipse.equinox.launcher 4 0 2018-12-02 16:59:25.532
!MESSAGE Exception launching the Eclipse Platform:
!STACK
java.lang.ClassNotFoundException: org.eclipse.core.runtime.adaptor.EclipseStarter
        at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:466)
        at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:566)
        at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:499)
        at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:626)
        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
        at org.eclipse.equinox.launcher.Main.main(Main.java:1414)
[end of file]

Installed JDK and JRE are default-jdk and defaut -jre respectively (currently openjdk-11-jdk and openjdk-11-jre, both for amd64), which satisfy the package depedencies.

It seems the Ubuntu Eclipse package is not configured according to the installed JDK/JRE packages, not even the default one it depends on. Its installation procedure doesn't seem to try to configure Eclipse accordingly.

Arnaud

Tags: cosmic
Revision history for this message
Hans Joachim Desserud (hjd) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This particular bug has already been reported and is a duplicate of bug 1754886, so it is being marked as such.

When reporting bugs in the future please use apport by using 'ubuntu-bug' and the name of the package affected. You can learn more about this functionality at https://wiki.ubuntu.com/ReportingBugs.

tags: added: cosmic
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.