JDK environment variable configuration window

Let's start configuration environment variable, right-click My Computer] --- [Property] ----- [Advanced] --- [Environment variables], as shown:


Select [New System Variable] - pop-up "New System Variable" dialog box, in the "variable name" text box enter "JAVA_HOME",
the file "variable value" text box to enter the JDK installation path (that is, the clip Step 5 path), click "OK" button, as shown:
View the pATH variable in the "system variables" option in the region, if not, then the new pATH variable, or select the variable, click the "edit" button in the "variable value "text box added starting position"% JAVA_HOME% \ bin;% JAVA_HOME% \ jre \ bin; " either directly"% JAVA_HOME% \ bin; " , click the OK button, as shown: in the" system variables "options area to view the CLASSPATH variable, and if not, then the new variable CLASSPATH, or select the variable, click the" edit "button in the" variable value "beginning of a text box to add";.% JAVA_HOME% \ lib \ dt.jar;% JAVA_HOME% \ lib \ tools.jar; ". Figure: Now configure the test environment variable success. In the DOS command line window, enter "JAVAC", the output of help information that is configured correctly. Figure:







Guess you like

Origin www.cnblogs.com/chuhongyun/p/11400917.html