Public bug reported:

I just installed 18.04 from today's March 10th desktop ISO in a VM with
all default settings. I proceeded to install Eclipse and build tools
with:

    sudo apt-get install eclipse git build-essential

I then ran `eclipse` in a terminal from my home directory (launcher icon
behaves same way). I expected Eclipse to open, but instead I got a popup
saying:

    An error has occurred.  See the log file
    
/home/vidar/.eclipse/org.eclipse.platform_3.8_155965261/configuration/1520710304064.log

Meanwhile, the following messages are printed on stderr:

    OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support 
was removed in 8.0
    Gtk-Message: 11:31:25.572: Failed to load module "canberra-gtk-module"
    Gtk-Message: 11:31:25.619: Failed to load module "canberra-gtk-module"

The file it mentions contains:

    !SESSION Sat Mar 10 11:31:44 PST 2018 
------------------------------------------
    !ENTRY org.eclipse.equinox.launcher 4 0 2018-03-10 11:31:44.078
    !MESSAGE Exception launching the Eclipse Platform:
    !STACK
    java.lang.ClassNotFoundException: 
org.eclipse.core.runtime.adaptor.EclipseStarter
        at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
        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)

`eclipse`, `eclipse-jdt` and `eclipse-platform` are all version
3.8.1-11. There are no pending updates after an `apt-get update && apt-
get upgrade`. Installing libcanberra-gtk-module got rid of those
warnings, but the popup and error message remain.

** Affects: eclipse (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1754886

Title:
  Eclipse fails to start on fresh 18.04 installation

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/eclipse/+bug/1754886/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to