首页 文章

eclipse ubuntu 18.04安装java.lang.ClassNotFoundException:

提问于
浏览
0

安装了eclipse和Java8 . 但它没有用 . 当尝试运行它时发生错误 .

An error has occurred. See the log file /home/shield/.eclipse/org.eclipse.platform_3.8_155965261/configuration/1526718159168.log

我检查了日志文件并找到了这些行:

**    !ENTRY org.eclipse.equinox.launcher 4 0 2018-05-19 13:40:07.262
   !MESSAGE Exception launching the Eclipse Platform:
   !STACK
   java.lang.ClassNotFoundException: 
    org.eclipse.core.runtime.adaptor.EclipseStarter
    at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    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)**

1 回答

  • 0

    刚刚遇到了与Ubuntu 18.04相同的问题 . 不知道具体的答案,但直接从eclipse.org(C / C安装程序)重新安装eclipse-cpp-oxygen-3a-linux-gtk-x86_64.tar.gz进展顺利 . 没有更多的问题 . 在Ubuntu 16.04上安装,也没有找到synaptic安装的问题 . 所以,只需在最新的Ubuntu中使用eclipse安装程序 .

相关问题