Eclipse 4.17启动提示:JVM is not suitable for this

liufangbaishi0 2020-09-23

通过是修改eclipse.ini文件,在eclipse.ini文件上加上添加一行代码:
-vm 指定jdk11下bin的路径
如下代码
-startup
plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.1300.v20200819-0940
-product
org.eclipse.epp.package.jee.product
-showsplash
org.eclipse.epp.package.common
--launcher.defaultAction
openFile
--launcher.defaultAction
openFile
--launcher.appendVmargs

    -vm 
    C:/Program Files/java/jdk11.0.5/bin

-vmargs
-Dosgi.requiredJavaVersion=11
[email protected]/eclipse-workspace
-XX:+UseG1GC
-XX:+UseStringDeduplication
--add-modules=ALL-SYSTEM
-Dosgi.requiredJavaVersion=11
-Dosgi.dataAreaRequiresExplicitInit=true
-Xms256m
-Xmx2048m
--add-modules=ALL-SYSTEM

相关推荐

jovisoft / 0评论 2019-06-26