Home > Java > javaTutorial > body text

What to do if jdk12 does not come with jre

angryTom
Release: 2019-10-24 17:31:22
Original
4244 people have browsed it

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
Copy after login

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!

Related labels:
jre
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template