<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
On Fri, 9 Mar 2018 20:07:32 -0500 "William L. DeRieux IV" <williamderieux@gmail.com>
wrote:<br>
> after editing /etc/eclipse.ini<br>
> and adding -debug to it<br>
> <br>
> I get the following output (when running eclipse):<br>
> -----------------------------------------<br>
> OpenJDK 64-Bit Server VM warning: ignoring option
MaxPermSize=256m; <br>
> support was removed in 8.0<br>
> Install location:<br>
> <a class="moz-txt-link-freetext" href="file:/usr/lib/eclipse/">file:/usr/lib/eclipse/</a><br>
> Configuration file:<br>
> <a class="moz-txt-link-freetext" href="file:/usr/lib/eclipse/configuration/config.ini">file:/usr/lib/eclipse/configuration/config.ini</a> loaded<br>
> Configuration location:<br>
>
<a class="moz-txt-link-freetext" href="file:/home/william/.eclipse/org.eclipse.platform_3.8_155965261/configuration/">file:/home/william/.eclipse/org.eclipse.platform_3.8_155965261/configuration/</a><br>
> Configuration file:<br>
>
<a class="moz-txt-link-freetext" href="file:/home/william/.eclipse/org.eclipse.platform_3.8_155965261/configuration/config.ini">file:/home/william/.eclipse/org.eclipse.platform_3.8_155965261/configuration/config.ini</a>
<br>
> not found or not read<br>
> Shared configuration location:<br>
> <a class="moz-txt-link-freetext" href="file:/usr/lib/eclipse/configuration/">file:/usr/lib/eclipse/configuration/</a><br>
> Framework located:<br>
>
<a class="moz-txt-link-freetext" href="file:/usr/lib/eclipse/plugins/org.eclipse.osgi_3.8.1.dist.jar">file:/usr/lib/eclipse/plugins/org.eclipse.osgi_3.8.1.dist.jar</a><br>
> Framework classpath:<br>
> Splash location:<br>
>
/usr/lib/eclipse//plugins/org.eclipse.platform_3.8.1.dist/splash.bmp<br>
> -----------------------------------------<br>
> <br>
> And the error message written to the log file:<br>
> <br>
> -----------------------------------------<br>
> !SESSION Fri Mar 09 20:00:00 EST 2018<br>
> !ENTRY org.eclipse.equinox.launcher 4 0 2018-03-09
20:00:00.374<br>
> !MESSAGE Exception launching the Eclipse Platform:<br>
> !STACK<br>
> java.lang.ClassNotFoundException: <br>
> org.eclipse.core.runtime.adaptor.EclipseStarter<br>
> at
java.net.URLClassLoader.findClass(URLClassLoader.java:381)<br>
> at java.lang.ClassLoader.loadClass(ClassLoader.java:424)<br>
> at java.lang.ClassLoader.loadClass(ClassLoader.java:357)<br>
> at
org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:626)<br>
> at
org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)<br>
> at org.eclipse.equinox.launcher.Main.run(Main.java:1438)<br>
> at org.eclipse.equinox.launcher.Main.main(Main.java:1414)<br>
> <br>
> <br>
> -----------------------------------------<br>
> <br>
> It seems that this error is happening because the framework's
class path<br>
> is not being properly set (hence it can't find the class).<br>
> <br>
> <br>
> <br>
</williamderieux@gmail.com><br>
--------------------------------------------------------------------<br>
I resolved this issue (on my system) by reinstalling libequinox<br>
<br>
$ sudo apt-get install --reinstall libequinox-osgi-java<br>
<br>
The debug output claimed that the framework has been found, but this
was a lie since: <br>
/usr/lib/eclipse/plugins/org.eclipse.osgi_3.8.1.dist.jar was
missing.<br>
<br>
Maybe there needs to be better sanity checking here.....<br>
--------------------------------------------------------------------<br>
<br>
<br>
<br>
<br>
</body>
</html>