Win7 64-bit install java jdk1.8, modify the configuration environment variables

Download jdk1.8, download address: http://www.wmzhe.com/soft-30118.html

There are two programs during installation, both of which are installed in the same directory.
<ignore_js_op style="word-wrap: break-word; color: rgb(68, 68, 68); font-family: Tahoma, "Microsoft Yahei", Simsun;">  
Win7 64-bit install java jdk1.8, modify the configuration Environment variable
configuration Environment variable

configuration method:

1. Create a new system variable JAVA_HOME:

Variable name: JAVA_HOME

Variable value: C:\Program Files(x86)\Java\jdk1.8.0_11 (variable value is slightly different according to the path you installed)
< ignore_js_op style="word-wrap: break-word; color: rgb(68, 68, 68); font-family: Tahoma, "Microsoft Yahei", Simsun;">  
Win7 64-bit install java jdk1.8, modify the configuration environment Variable
2. In the system variable, create a new system variable classpath:

variable name: classpath

variable value: %JAVA_HOME%\lib;%JAVA_HOME%\lib\tools.jar;
<ignore_js_op style="word-wrap: break-word; color: rgb(68, 68, 68); font-family: Tahoma, "Microsoft Yahei", Simsun;">  
Win7 64-bit install java  jdk1.8  , modify the configuration Environment variable
3. Modify the system variable path value:

add the following content before the variable value of path: %JAVA_HOME%\bin;
<ignore_js_op style="word-wrap: break-word; color: rgb(68, 68, 68); font-family: Tahoma, "Microsoft Yahei", Simsun;">  
Win7 64-bit install java jdk1.8, modify the configuration environment variable
cmd, enter java -version, (with spaces) as shown below, the modification is successful.
<ignore_js_op style="word-wrap: break-word; color: rgb(68, 68, 68); font-family: Tahoma, "Microsoft Yahei", Simsun;">  

Notes
Note that the semicolon
environment variable configuration needs to restart successfully cmd

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326077216&siteId=291194637