To windows10 example:
1, to find "this computer" right-click on the desktop - "Properties" - "Advanced System Settings" - "Advanced" - "environment variables (system variables)" - (below) "New" - variable name: JAVA_HOME-- variable value: jdk installation path (bin upper level directory)
2, wheel sliding down to the "path", double-click the "path", click on "New" and then fill in:% JAVA_HOME % \ bin (on the right then the best option is "on the move" to the first line)
3, has been click OK on it
Installed JDK, how to configure the path environment variable
Guess you like
Origin blog.51cto.com/14651315/2461502
Ranking