我在Ubuntu 16上运行Eclipse Oxygen 2.尝试安装Subclipse
插件。 Eclipse在安装过程中崩溃而没有任何消息。如何找到问题?
UPD。
Eclipse再也没有了。
目前有几次崩溃后我有时会收到消息框:
JVM terminated. Exit code=1
/usr/local/jdk-9.0.1/bin/java
-Dosgi.requiredJavaVersion=1.8
-Dosgi.instance.area.default=@user.home/eclipse-workspace
-Djava.library.path=/usr/lib/x86_64-linux-gnu/jni/
-XX:+UseG1GC
-XX:+UseStringDeduplication
--add-modules=ALL-SYSTEM
-Dosgi.requiredJavaVersion=1.8
-Xms256m
-Xmx1024m
--add-modules=ALL-SYSTEM
-jar /opt/oxygen2//plugins/org.eclipse.equinox.launcher_1.4.0.v20161219-1356.jar
-os linux
-ws gtk
-arch x86_64
-showsplash /opt/oxygen2//plugins/org.eclipse.epp.package.common_4.7.2.20171218-0600/splash.bmp
-launcher /opt/oxygen2/eclipse
-name Eclipse
--launcher.library /opt/oxygen2//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.551.v20171108-1834/eclipse_1630.so
-startup /opt/oxygen2//plugins/org.eclipse.equinox.launcher_1.4.0.v20161219-1356.jar
--launcher.appendVmargs
-exitdata 370004
-product org.eclipse.epp.package.cpp.product
-vm /usr/local/jdk-9.0.1/bin/java
-vmargs
-Dosgi.requiredJavaVersion=1.8
-Dosgi.instance.area.default=@user.home/eclipse-workspace
-Djava.library.path=/usr/lib/x86_64-linux-gnu/jni/
-XX:+UseG1GC
-XX:+UseStringDeduplication
--add-modules=ALL-SYSTEM
-Dosgi.requiredJavaVersion=1.8
-Xms256m
-Xmx1024m
--add-modules=ALL-SYSTEM
-jar /opt/oxygen2//plugins/org.eclipse.equinox.launcher_1.4.0.v20161219-1356.jar
.log文件包含以下行:
SESSION 2018-01-04 07:22:29.157 -----------------------------------------------
eclipse.buildId=4.7.2.M20171130-0510
java.version=9.0.1
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Framework arguments: -product org.eclipse.epp.package.cpp.product
Command-line arguments: -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.cpp.product
!ENTRY org.eclipse.launchbar.core 2 0 2018-01-04 07:23:07.398
!MESSAGE Enablement expression is missing for descriptor type org.eclipse.cdt.debug.core.coreBuildDescriptorType
!ENTRY org.eclipse.launchbar.core 2 0 2018-01-04 07:23:07.724
!MESSAGE Enablement expression is missing for config provider for org.eclipse.cdt.debug.core.coreBuildDescriptorType
!ENTRY org.eclipse.launchbar.core 2 0 2018-01-04 07:23:07.724
!MESSAGE Enablement expression is missing for config provider for org.eclipse.cdt.debug.core.coreBuildDescriptorType
~
答案 0 :(得分:0)
自:
https://github.com/subclipse/subclipse/wiki
Subclipse能够为 Windows 提供包含所需本机DLL的Eclipse插件,因此在Windows上安装非常简单。在Linux和Mac上,由于处理库加载的方式不同,不可能以“#34;正常工作”的方式提供库。
您必须在Linux上安装JavaHL。
请参阅: