eclipse指定JDK版本启动,解决version *** of the JVM is not suitable for this product.Version:*** 问题

启动eclipse时,提示version 1.8.0_151 of the JVM is not suitable for this product.Version:11 or greater is required.

打开cmd,输入命令 java -version

可以看到我的版本是  version 1.8.0_151

打开安装目录下的 eclipse.ini

改成 1.8就可以使用了

然后再重新打开eclipse就可以!

猜你喜欢

转载自blog.csdn.net/dkm123456/article/details/114390222