Reinstall the system, the installation of the Java environment is gone, can only be re-installed ~ ~ ~
1. Download the JDK
2. This will be installed two times, where the first installation of the JDK, the second installation of the JRE, we recommend that you do not put these two in the same folder.
3. Configure Environment variables
Right-click My Computer, select Properties, Advanced, environment variables, user variables (Configure environment variables in this area)
Select "New System Variable"--pops up the "New System Variable" dialog box, enter "Java_home" in the "Variable name" text box, enter the installation path of the JDK in the "Variable Value" text box
New variable PATH, add "%java_home%\bin;%java_home%\jre\bin;" or direct "%java_home%\bin;", click the OK button
New variable classpath, the start position of the "Variable value" text box is added.; %java_home%\lib\dt.jar;%java_home%\lib\tools.jar; "
4. Successful configuration, with Javac and Java detection.
Special Note: Be sure to configure in the user variables, I previously configured in the system variables, Javac has been unsuccessful, and then is the value of classpath must not forget the front "." Remember
Win10 Install Jdk&&jre