Have the same problem.
Seems root cause is a broken dependcy:

eclipse-platform version is 3.8.1-11 it depends on eclipse-rcp version
3.8.1-11 which in turn depends on libequinox-osgi-java (>= 3.9.1).

But eclipse-platform-data expects libequinox-osgi-java version 3.8.1-11:

$ apt-cache --recurse  depends eclipse-platform | less
eclipse-platform
  Depends: eclipse-rcp
eclipse-rcp
  Depends: libequinox-osgi-java

$ apt-cache show eclipse-rcp
Package: eclipse-rcp
Architecture: amd64
Version: 3.8.1-11
Priority: optional
Section: universe/devel
Source: eclipse
Origin: Ubuntu
Maintainer: Ubuntu Developers <ubuntu-devel-disc...@lists.ubuntu.com>
Original-Maintainer: Debian Orbital Alignment Team 
<pkg-java-maintain...@lists.alioth.debian.org>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 8094
Depends: default-jre | java5-runtime | java6-runtime, libequinox-osgi-java (>= 
3.9.1), libfelix-gogo-command-java, libfelix-gogo-shell-java, libicu4j-49-java 
(>= 49.1-2), libswt-gtk-3-java (<< 3.9.0~), libswt-gtk-3-java (>= 3.8.0~), 
libswt-cairo-gtk-3-jni (>= 3.8.0~), libswt-webkit-gtk-3-jni (>= 3.8.0~), libc6 
(>= 2.14)

$ dpkg -L eclipse-platform-data  | grep config.ini | xargs cat | grep 
osgi.framework=
osgi.framework=file\:plugins/org.eclipse.osgi_3.8.1.dist.jar
osgi.framework=file\:plugins/org.eclipse.osgi_3.8.1.dist.jar

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

Title:
  Eclipse fails to start on fresh 18.04 installation

Status in eclipse package in Ubuntu:
  In Progress
Status in eclipse package in Debian:
  New

Bug description:
  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.

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to