2. Select the version and system type to download to the local and prepare for installation.
3. Open the installation package and click Install. Click Next
Then the jdk installation is completed, and the next step is the jre installation process.The same method. Wait a moment for the installation to complete Then click Finish.After all the jdk+jre are installed, the most important java environment variables are configured.
(Environment variable configuration) 1. My Computer → Right click Properties → Advanced System Settings → Advanced → Environment Variables
2: System Variable → New JAVA_HOME Variable Fill in the installation directory of jdk for variable values (I am D: Java jdk6)
3: System variable → Find Path variable → Edit Enter at the end of the variable value and copy the code in the brackets (% JAVA_HOME% bin;% JAVA_HOME% jre bin;) (Note whether there is a; sign at the end of the original Path variable value. If there is no; sign, enter the above code first)
4: System Variable → New CLASSPATH Variable Fill in the variable value.;%JAVA_HOME%\lib;%JAVA_HOME%\lib\tools.jar (Note the first point) System variable configuration completed **5: Check whether the configuration runs successfully. Enter java - version (there is a space between java and - version) If the version information is displayed as shown in the figure, the installation and configuration are successful**
For commercial reproduction, please contact the author for authorization. For non-commercial reproduction, please indicate the source and link of this article