首页 > 学院 > 开发设计 > 正文

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

2019-11-06 07:46:02
字体:
来源:转载
供稿:网友
可以解决Version XXXX of the JVM is not suitable for this PRoduct.Version:XXXXXX or greater is required。

例如:Verson1.7.0_79 of the JVM is not suitable for this product Version:1.8 or greater is required

点击启动eclipse出现如下图错误

解决方式: 配置eclipse文件夹下的eclipse.ini文件。 添加如下字段: -vm D:/jdk1.8.0_40/bin 注意/和/ 下面是完整配置:

-vmD:/jdk1.8.0_40/bin-startupplugins/org.eclipse.equinox.launcher_1.3.201.v20161025-1711.jar--launcher.libraryplugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.401.v20161122-1740-productorg.eclipse.epp.package.jee.product--launcher.defaultActionopenFile-showsplashorg.eclipse.platform--launcher.defaultActionopenFile--launcher.appendVmargs-vmargs-Dosgi.requiredjavaVersion=1.8-XX:+UseG1GC-XX:+UseStringDeduplication-Dosgi.requiredJavaVersion=1.8-Xms256m-Xmx1024m

参考: 巴顿


上一篇:各大OJ题目分类

下一篇:HDU题目分类

发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表