Version 1.8.0_201 of the JVM is not suitable for this product. Version: 11 or greater is required. 报错
1.找到jdk的安装位置,复制路径
D:Program FilesJava\jdk1.8.0_151\bin\javaw.exe
2.打开eclipse.ini文件(我的在C:\Users\roger\eclipse\java-2020-06\eclipse)
Version 1.8.0_201 of the JVM is not suitable for this product. Version
3.编辑文件在-vmargs上方加上这2句-vm
-D:Program FilesJava\jdk1.8.0_151\bin\javaw.exe
并把版本修改为1.8
Version 1.8.0_201 of the JVM is not suitable for this product. Version
|