无法在Ubuntu退出代码= 13上启动Eclipse

时间:2018-10-13 10:30:40

标签: java eclipse ubuntu jvm

我似乎无法在我的Ubuntu 18.04.1 LTS计算机上运行Eclipse。我已经安装,删除,重新安装,清除和重新安装了Eclipse,但无济于事。 我使用Ubuntu存储库安装了Eclipse:

# apt-get install eclipse

关于我的机器的一些信息:

$ uname -a
Linux $HOSTNAME 4.15.0-36-generic #39-Ubuntu SMP Mon Sep 24 16:19:09 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
$ /usr/bin/java -version
openjdk version "10.0.2" 2018-07-17
OpenJDK Runtime Environment (build 10.0.2+13-Ubuntu-1ubuntu0.18.04.2)
OpenJDK 64-Bit Server VM (build 10.0.2+13-Ubuntu-1ubuntu0.18.04.2, mixed mode)

尝试运行Eclipse:

$ /usr/lib/eclipse/eclipse
OpenJDK 64-Bit Server VM warning: Ignoring option MaxPermSize; support was removed in 8.0
An error has occurred.  See the log file
/home/$USER/.eclipse/155965261/configuration/1539424551911.log

弹出窗口通知我

JVM terminated. Exit code=13
/usr/bin/java
-Xms40m
-Xmx384m
-Dorg.eclipse.equinox.p2.reconciler.dropins.directory=/usr/share/eclipse/dropins
-XX:MaxPermSize=256m
-jar /usr/lib/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.dist.jar
-os linux
-ws gtk
-arch x86_64
-showsplash
-launcher /usr/lib/eclipse/eclipse
-name Eclipse
--launcher.library /usr/lib/eclipse//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.dist/eclipse_1503.so
-startup /usr/lib/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.dist.jar
--launcher.overrideVmargs
-exitdata 64801c
-vm /usr/bin/java
-vmargs
-Xms40m
-Xmx384m
-Dorg.eclipse.equinox.p2.reconciler.dropins.directory=/usr/share/eclipse/dropins
-XX:MaxPermSize=256m
-jar /usr/lib/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.dist.jar

日志文件

!SESSION Sat Oct 13 02:55:51 MST 2018
------------------------------------------
!ENTRY org.eclipse.equinox.launcher 4 0 2018-10-13 02:55:51.934
!MESSAGE Exception launching the Eclipse Platform:
!STACK
java.lang.RuntimeException: Could not find framework
    at org.eclipse.equinox.launcher.Main.getBootPath(Main.java:985)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:564)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
    at org.eclipse.equinox.launcher.Main.main(Main.java:1414)

我已经读过类似的questions,它指示我检查位数,我运行的是64位操作系统和Java JDK的64位版本,但我似乎无法弄清楚如何检查是否我的Eclipse安装是64或32位的(尽管我无法想象为什么apt-get会在我显然是64位的计算机上安装32位的软件包)。其他questions建议检查我的eclipse.ini文件,但我没有修改默认文件:

-startup
plugins/org.eclipse.equinox.launcher_1.3.0.dist.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.dist
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vmargs
-Xms40m
-Xmx384m
-Dorg.eclipse.equinox.p2.reconciler.dropins.directory=/usr/share/eclipse/dropins

我该怎么做才能进一步解决安装问题?

0 个答案:

没有答案
相关问题