eclipse启动出现这个问题:
Version 1.8.0_201 of the JVM is not suitable for this product. Version: 11 or greater is required.
解决:打开eclipse.ini 修改如下
-Xmx1024m -startup plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar --launcher.library plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.1300.v20200819-0940 -product org.eclipse.epp.package.java.product -showsplash org.eclipse.epp.package.common --launcher.defaultAction openFile --launcher.defaultAction openFile --launcher.appendVmargs -vmargs -Dosgi.requiredJavaVersion=1.8 -Dosgi.instance.area.default=@user.home/eclipse-workspace -XX:+UseG1GC -XX:+UseStringDeduplication --add-modules=ALL-SYSTEM -Dosgi.requiredJavaVersion=1.8 -Dosgi.dataAreaRequiresExplicitInit=true -Xms256m -Xmx2048m --add-modules=ALL-SYSTEM -vm -D:\java\jdk\bin\javaw.exe
添加jdk路径:
-vm
-D:\java\jdk\bin\javaw.exe
修改版本为1.8