Eclipse installation JDK11 way

Installation JDK11
the JDK download URL:
https://www.oracle.com/technetwork/java/javase/downloads

Java SE Development Kit 11
https://www.oracle.com/technetwork/java/javase/downloads/jdk11-downloads-5066655.html

To consent agreement to download, I downloaded:
Windows 170.97 MB jdk-11_windows-x64_bin.zip

Download the complete first extract (unzip to my C drive), configure the environment variables:
New JAVA_HOME C: \ jdk-11
added PATH% JAVA_HOME% \ bin;

 

 

JDK11 no direct jre, jre to select the user module:
Open a command prompt, you want to cd% JAVA_HOME%
and then run the command:
bin \ jlink.exe --module-path jmods --add-modules java.desktop --output jre

Jre folder will be generated in the catalog, but also add the PATH:
% JAVA_HOME% \ jre \ bin;

 

 

This is called as needed with jre, unlike the previous run regardless of the size of the whole set of java procedures are used.

The reason I selected this module java.desktop, because the desktop java program to use, for example, the following installation Eclipse.
If only running "black box" programs can use java.core.

Install the Eclipse
http://www.eclipse.org/downloads/
version SimRel 2018-09 the Eclipse:
http://ftp.yz.yamagata-u.ac.jp/pub/eclipse/oomph/epp/2018-09/R /eclipse-inst-win64.exe
fact, this is installed, you need to run 64-bit jre environment, open will let you choose what kind of program you are using, and then install networking.

 

Guess you like

Origin www.cnblogs.com/yhm9/p/11566903.html