Linux-Mint

Eclipse 沒有執行

  • July 17, 2018

我已經org.eclipse.platform_3.8_155965261安裝在我的電腦上,昨天我將我的 linux mint 18.3 升級到 19。之後 eclipse 停止工作並顯示錯誤消息

發生錯誤。看看日誌文件

我已經重新安裝了它,但它不是有益的。試過這個,但這也是值得的。

這是日誌

!SESSION Tue Jul 17 08:50:57 IST 2018 ------------------------------------------
!ENTRY org.eclipse.equinox.launcher 4 0 2018-07-17 08:50:57.425
!MESSAGE Exception launching the Eclipse Platform:
!STACK
java.lang.ClassNotFoundException: org.eclipse.core.runtime.adaptor.EclipseStarter
   at java.net.URLClassLoader.findClass(URLClassLoader.java:609)
   at java.lang.ClassLoader.loadClassHelper(ClassLoader.java:926)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:871)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:854)
   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)

錯誤 #891956

這聽起來像您的問題,標題為:Debian Bug report logs - #891956 eclipse no starting -ClassNotFoundException: org.eclipse.core.runtime.adaptor.EclipseStarter

該錯誤中的建議是這樣做:

$ sudo apt-get install --reinstall libequinox-osgi-java

調試輸出聲稱已找到該框架,但這是一個謊言,因為:/usr/lib/eclipse/plugins/org.eclipse.osgi_3.8.1.dist.jar 失去了。

錯誤 #898086

根據堆棧跟踪,還有一個名為:Debian Bug report logs - #898086 Missing symlink of org.eclipse.osgi jar 的錯誤

=== Log file ===
This is the log file:
!SESSION Fri Jun 15 09:10:34 CEST 2018
-----------------------------------------
!ENTRY org.eclipse.equinox.launcher 4 0 2018-06-15 09:10:34.504
!MESSAGE Exception launching the Eclipse Platform:
!STACK
java.lang.ClassNotFoundException:
org.eclipse.core.runtime.adaptor.EclipseStarter
   at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:466)
   at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:566)
   at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:499)
   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)
=== End of log file ===

這看起來像您的確切問題。此特定錯誤仍處於活動狀態,並且沒有解決方案或解決方法。

引用自:https://unix.stackexchange.com/questions/456674