在甲骨文官网下载好JDK20并安装好。没有jre文件。打开运行--cmd,并找到安装JDK文件路径输入bin\jlink.exe --module-path jmods --add-modules java.desktop --output jre命令。完成