Skip to main content



      Home
Home » Newcomers » Newcomers » java.lang.NoClassDefFoundError starting Eclipse on Ubuntu 16.04
java.lang.NoClassDefFoundError starting Eclipse on Ubuntu 16.04 [message #1776015] Thu, 09 November 2017 05:48 Go to next message
Eclipse UserFriend
I just installed Eclipse Oxygen on a fresh Ubuntu 16.04 system. When I run the executable it fails with the following exception:

Exception in thread "logback configurator timer" java.lang.NoClassDefFoundError: ch/qos/logback/core/util/StatusPrinter
    at org.eclipse.m2e.logback.configuration.LogPlugin.loadConfiguration(LogPlugin.java:187)
    at org.eclipse.m2e.logback.configuration.LogPlugin.configureLogback(LogPlugin.java:144)
    at org.eclipse.m2e.logback.configuration.LogPlugin.access$2(LogPlugin.java:107)
    at org.eclipse.m2e.logback.configuration.LogPlugin$1.run(LogPlugin.java:62)
    at java.base/java.util.TimerThread.mainLoop(Timer.java:556)
    at java.base/java.util.TimerThread.run(Timer.java:506)
Caused by: java.lang.ClassNotFoundException: ch.qos.logback.core.util.StatusPrinter cannot be found by org.eclipse.m2e.logback.configuration_1.8.0.20160921-2002
    at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:461)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:372)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:364)
    at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:161)
    at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:496)
    ... 6 more
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged


What is going on here? Do I need to install additional libraries to run Eclipse Oxygen?

Thank you.
Re: java.lang.NoClassDefFoundError starting Eclipse on Ubuntu 16.04 [message #1776041 is a reply to message #1776015] Thu, 09 November 2017 11:48 Go to previous messageGo to next message
Eclipse UserFriend
What did "installed Eclipse Oxygen" actually involve here?
Re: java.lang.NoClassDefFoundError starting Eclipse on Ubuntu 16.04 [message #1776042 is a reply to message #1776041] Thu, 09 November 2017 11:57 Go to previous messageGo to next message
Eclipse UserFriend
Nitin Dahyabhai wrote on Thu, 09 November 2017 11:48
What did "installed Eclipse Oxygen" actually involve here?


Hi there Nitin. This is a good question, in my experience there is only one correct procedure to install Eclipse on Ubuntu. I have successfully used this guide since Ubuntu 12.04 until now. On occasion, there have been issues with GTK, but Eclipse would always start up if all these steps were follow carefully.

Thanks.
Re: java.lang.NoClassDefFoundError starting Eclipse on Ubuntu 16.04 [message #1776053 is a reply to message #1776042] Fri, 10 November 2017 02:34 Go to previous messageGo to next message
Eclipse UserFriend
Nitin is asking because all the recent "class not found" problems in the forum have been caused by using Java 9 with a pre-Oxygen 1.a release of Eclipse, so we're specifically wondering exactly what you've downloaded from where? I.e., did it come from this page: https://www.eclipse.org/downloads/eclipse-packages/
Re: java.lang.NoClassDefFoundError starting Eclipse on Ubuntu 16.04 [message #1776057 is a reply to message #1776053] Fri, 10 November 2017 03:13 Go to previous messageGo to next message
Eclipse UserFriend
Ed Merks wrote on Fri, 10 November 2017 02:34
Nitin is asking because all the recent "class not found" problems in the forum have been caused by using Java 9 with a pre-Oxygen 1.a release of Eclipse, so we're specifically wondering exactly what you've downloaded from where? I.e., did it come from this page: https://www.eclipse.org/downloads/eclipse-packages/


Hi Ed. Yes, it came from that page, but I am not sure if it is a release prior to 1.a (downloaded it early last week). I shall re-install this latest release and report here the results.

Thank you.
Re: java.lang.NoClassDefFoundError starting Eclipse on Ubuntu 16.04 [message #1776066 is a reply to message #1776057] Fri, 10 November 2017 05:45 Go to previous messageGo to next message
Eclipse UserFriend
Latest week's download should be fine. But perhaps the m2e project hasn't properly tested that it works well with Java 9. I would try running it (Eclipse) with Java 8 as a test (if possible and isn't too much work for you). Details are here: https://wiki.eclipse.org/Eclipse.ini
Re: java.lang.NoClassDefFoundError starting Eclipse on Ubuntu 16.04 [message #1776068 is a reply to message #1776057] Fri, 10 November 2017 05:59 Go to previous message
Eclipse UserFriend
It turns out I had release M2 installed. With release a.1 Eclipse starts up correctly.

Thank you.
Previous Topic:papyrus extension points
Next Topic:NullPointerException in IDE
Goto Forum:
  


Current Time: Sat Jun 21 14:29:09 EDT 2025

Powered by FUDForum. Page generated in 0.33494 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top