How to configure win10 java environment? Java environment variable configuration introduction

  

I believe many programmers have already won the win10 upgrade, then how to configure win10 java environment, in fact, the method is very simple, the following small series Introduce the java environment variable configuration method for everyone, let's take a look! Tools/Materials

Methods/Steps

1. First, right click on “this computer”, select <;properties";

2, select &ldquo ;Advanced System Settings”

3. Select "Environment Variables>

4, Select “New”

5, click on the new, this will appear, the variable name is "JAVA_HOME" (copy the contents of my quotes can be, without quotes, the same below), the variable value, must be the path when you install jdk, such as My installation path is E:java\\jdk\\, the path problem also needs to pay attention to

6, then find "CLASSPATH", if not, "New" &


7, variable name & ldquo; CLASSPATH & rdquo; variable value “.;%JAVA_HOME%\\lib\\dt.jar;%JAVA_HOME%\\lib\\tools.jar;”

8, find Path, edit it, add "ld_;;%JAVA_HOME%\\bin;%JAVA_HOME%\\jre\\bin;” in front of its original variable value, the added method is such C: variable Value

9, remember to complete the two points after the completion


10, finally, is the test Whether the configuration is successful, press R+ WIN (the key of the windows logo), enter cmd

11, enter the command prompt, enter JAVA, click “Enter”, come out these Chinese, on the line

12, then enter JAVAC, click “Enter”, these Chinese will be on the line

The above is the java10 environment variable configuration method of win10, the operation is very simple, As long as you follow the above steps to do it!

Copyright © Windows knowledge All Rights Reserved