JVM terminated. Exit code=13

时间:2024-03-25 21:23:06

linux 下安装完成eclipse启动,报错

JVM terminated. Exit code=13

/usr/java/jdk1.8.0_161/bin/java
-Dosgi.requiredJavaVersion=1.8
[email protected]/eclipse-workspace
-XX:+UseG1GC
-XX:+UseStringDeduplication
-Dosgi.requiredJavaVersion=1.8
-Xms256m
-Xmx1024m
-jar /usr/local/eclipse//plugins/org.eclipse.equinox.launcher_1.4.0.v20161219-1356.jar
-os linux
-ws gtk
-arch x86_64
-showsplash /usr/local/eclipse//plugins/org.eclipse.epp.package.common_4.7.3.20180308-1800/splash.bmp
-launcher /usr/local/eclipse/eclipse
-name Eclipse
--launcher.library /usr/local/eclipse//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.551.v20171108-1834/eclipse_1630.so
-startup /usr/local/eclipse//plugins/org.eclipse.equinox.launcher_1.4.0.v20161219-1356.jar
--launcher.appendVmargs
-exitdata 168013
-product org.eclipse.epp.package.java.product
-vm /usr/java/jdk1.8.0_161/bin/java
-vmargs
-Dosgi.requiredJavaVersion=1.8
[email protected]/eclipse-workspace

-XX:+UseG1GC

解决方案:

eclipse 版本的位数和jdk位数不一致,重新配置jdk和eclipse版本匹配即可

1.通过java -version查看jdk版本

JVM terminated. Exit code=13

配置eclipse.ini

-vm

java的安装路径/bin/java

JVM terminated. Exit code=13

我配置eclipse和jdk用的版本如下,可以再官方网站下载

JVM terminated. Exit code=13


eclipse下载地址

http://ftp.jaist.ac.jp/pub/eclipse/technology/epp/downloads/release/oxygen/3/


JVM terminated. Exit code=13

JDK下载地址

http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

JVM terminated. Exit code=13