欢迎访问 生活随笔!

生活随笔

当前位置: 首页 > 编程资源 > 编程问答 >内容正文

编程问答

eclipse指定jdk版本启动,解决Version XXXX of the JVM is not

发布时间:2025/3/15 编程问答 30 豆豆
生活随笔 收集整理的这篇文章主要介绍了 eclipse指定jdk版本启动,解决Version XXXX of the JVM is not 小编觉得挺不错的,现在分享给大家,帮大家做个参考.

打开eclipse.ini添加

-vm

C:/Java/jdk1.6.0_02/bin


如下所示

-startup

plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar

--launcher.library

plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.200.v20130521-0416

-product

org.eclipse.epp.package.jee.product

--launcher.defaultAction

openFile

-vm

C:/Java/jdk1.6.0_02/bin

--launcher.XXMaxPermSize

256M

-showsplash

org.eclipse.platform

--launcher.XXMaxPermSize

256m

--launcher.defaultAction

openFile

--launcher.appendVmargs

-vmargs

-Dosgi.requiredJavaVersion=1.6

-Xms40m

-Xmx512m

-clean 


转载于:https://my.oschina.net/liangzhenghui/blog/277647

总结

以上是生活随笔为你收集整理的eclipse指定jdk版本启动,解决Version XXXX of the JVM is not的全部内容,希望文章能够帮你解决所遇到的问题。

如果觉得生活随笔网站内容还不错,欢迎将生活随笔推荐给好友。