Java cross-platform principle diagram:
Java environment build:
1. Find the JDK installation directory and copy the directory
2. Right-click the computers - & gt; Attributes - & gt; Advanced system Settings - & gt; System properties - & gt; Advanced - & gt; Environment variables,
In the system variable called JAVA_HOME "new variables, values for the JDK installation directory;
3. New or edit system variables "Path" value as the % JAVA_HOME % \ bin; (the editor, no new)
4. After the completion of the editor click ok to save out
5. CTRL + r type CMD in the CMD window, in turn, input "Java - version", "Java" and "javac" and press enter, to detect whether the environment variable configuration success
CodePudding user response:
You can ~ ~ ~ ~ ~ ~CodePudding user response:
Environmental structures, there is no problem, can provide study route