Configuration of the Java environment
The configuration of the Java environment should have been learned, here a simple talk.
Download the installation Java JDK, note the installation path, we need to carry out the configuration of environment variables.
After the installation is complete, configure the environment variables
Configuration of environment variables Here's an example of Win7: Right-click the computer--Properties--Advanced system settings.
Click on the environment variable below, enter the system variable in the column click New, and then enter the following:
Name: Java_home
Variable Value: The path that was just installed
Click New in the above column to read as follows:
Name: Class_path
variable value: .; %java_home%\lib;%java_home%\lib\tools.jar
Be sure to note that all symbols are in the English state.
In the system environment variable, there is a PATH environment variable, select Edit after selection, add Java_home can be, as shown: at the end add;%java_home%\bin;
Test whether the Java environment is configured successfully
Press the Win+r key and enter CMD to pull up the Command control window. Enter: Java-version to see if the version can be displayed.
The above is the entire content of this article, I hope to help you learn, but also hope that we support the cloud habitat community.