我在 Ubuntu 18.04.4 LTS 上安装了 eclipse,但无法打开 ecilpse。弹出一条错误消息。
错误信息:
An error has occurred. See the log file /home/sumon/.eclipse/org.eclipse.platform_3.8_155965261/configuration/1582634683890.log
日志档案:
sumon@sumon-Vostro-1450:~$ cat /home/sumon/.eclipse/org.eclipse.platform_3.8_155965261/configuration/1582634683890.log
!SESSION Tue Feb 25 18:44:43 BDT 2020 ------------------------------------------
!ENTRY org.eclipse.equinox.launcher 4 0 2020-02-25 18:44:43.927
!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:471)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:588)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
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,然后卸载了这个。