jdk12里面没有jre

解决办法:

在jdk安装的文件夹地址栏上输入cmd。打开命令窗口以后,

输入命令:bin\jlink.exe --module-path jmods --add-modules java.desktop --output jre

然后去配置环境变量即可

参考资料:

https://jingyan.baidu.com/article/e4d08ffde7fab54fd2f60de4.html

猜你喜欢

转载自blog.csdn.net/qq_22182989/article/details/108006660