解决 Java 11 及以上版本没有 jre
在 jdk 根目录下,使用以下命令手动生成 jre
bin\jlink.exe --module-path jmods --add-modules java.desktop --output jre
可以看到已经生成了 jre 已解决!!