Eclipse fails to start (java.lang.ClassNotFoundException: org.eclipse.core.runtime.adaptor.EclipseStarter)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
eclipse (Debian) |
Fix Released
|
Unknown
|
|||
eclipse (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
eclipse-cdt (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
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/
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-Message: 11:31:25.619: Failed to load module "canberra-
The file it mentions contains:
!SESSION Sat Mar 10 11:31:44 PST 2018 -------
!ENTRY org.eclipse.
!MESSAGE Exception launching the Eclipse Platform:
!STACK
java.
at java.net.
at java.lang.
at java.lang.
at org.eclipse.
at org.eclipse.
at org.eclipse.
at org.eclipse.
`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-
Changed in eclipse (Ubuntu): | |
status: | Confirmed → Triaged |
importance: | Undecided → High |
Changed in eclipse (Debian): | |
status: | Unknown → New |
Changed in eclipse (Ubuntu): | |
status: | Triaged → In Progress |
tags: | added: comsic |
tags: |
added: cosmic removed: comsic |
summary: |
- Eclipse fails to start on fresh 18.04 installation + Eclipse fails to start (java.lang.ClassNotFoundException: + org.eclipse.core.runtime.adaptor.EclipseStarter) |
Changed in eclipse (Debian): | |
status: | New → Fix Released |
Changed in eclipse (Ubuntu): | |
status: | In Progress → Fix Released |
Thanks for taking your time to report this issue and help making Ubuntu better.
I can confirm this issue, eclipse 3.8.1-11 fails to start when I attempt to run it on Ubuntu bionic. Based on the error message, I found a corresponding bug report in Debian, so I have attached a bug watch.
Btw, when reporting bugs in the future please use apport by using 'ubuntu-bug' and the name of the package affected. This adds version numbers and additional information automatically, making it easier to process bug reports. You can learn more about this functionality at https:/ /wiki.ubuntu. com/ReportingBu gs.