Home >Java >javaTutorial >What to do if jdk12 does not come with jre

What to do if jdk12 does not come with jre

angryTom
angryTomOriginal
2019-10-22 13:40:534283browse

What to do if jdk12 does not come with jre

What to do if jdk12 does not come with jre

jdk11 and jdk12 have changed a bit based on the previous versions. Installation There is no jre by default.

If you need jre, you need to go to the jdk directory to

open the command window (cmd), and then execute the following command:

bin\jlink.exe --module-path jmods --add-modules java.desktop --output  jre

After execution, jre will be generated.

Recommended: "Java Tutorial"

The above is the detailed content of What to do if jdk12 does not come with jre. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn