三亩地 三亩地SAN MU DI · CODE DIARY
ARTICLE DETAIL

日记详情

真实记录编程学习的某一天,欢迎挑你感兴趣的翻一翻。

解决eclipse启动提示:JVM is not suitable for this product.

解决eclipse启动提示:JVM is not suitable for this product.

问题:

eclipse启动提示JVM版本不适用

Version 1.8.0 411 of the JVM is not suitable for this product. Version: 11 orgreater is required.

Version 1.8.0 411 of the JVM is not suitable for this product. Version: 21 orgreater is required.

原因:

安装了多个Java版本

解决方案:

eclipse的安装路径打开eclipse.ini文件内,指定JVM版本

添加 你自己Java版本的bin文件夹路径

-vm C:\Program Files\Java\jdk-21\bin

建议:

eclipse.ini文件内的

-Dosgi.requiredJavaVersion也更换一致版本 [不确信doge]

← 返回列表