The problem that the higher version of JDK lacks JRE

Run the command in the JDK root directory:
bin\jlink.exe --module-path jmods --add-modules java.desktop --output jre

Guess you like

Origin blog.csdn.net/daiyi666/article/details/120306517