version xxx of the JVM is not suitable for this product以及jdk环境变量配置与查看的版本不一致,jdk11没有jre
遇到的问题jdk11没有jrecmd中查看的jdk版本与环境变量配置的版本不一致eclipse打开时显示version xxx of the JVM is not suitable for this productjdk11没有jre解决方法:以管理员身份打开命令提示符,然后用cd命令切换到jdk的安装路径,然后运行命令:bin\jlink.exe --module-path jmods --add-modules java.desktop --output jre就会生成jre文件夹。cmd中
原创
2020-09-19 20:09:11 ·
1114 阅读 ·
0 评论