1. Right-click on the desktop, "this computer", select properties:
2. Then click Advanced, as
3. Click "Advanced System Settings"
4. Then click environment variable as follows
5. Click New
6. Fill in the environment variable name (recommended JAVA_HOME) and variable values (your computer installed jdk directory), OK. At this point already set variables need to be added to the next Path path before use.
7. Double-click this line Path
8. New Point
9. Import% JAVA_HOME% bin
Here completes the configuration, the point has been determined on the line.
You can use win + R, type cmd into the command box window, type javac try, whether the configuration is successful, I hope you can help.
If you resolve your problem give praise it! ! work hard together! ! !