Install the java Development Environment jdk, and install JDK and javajdk
JDK can be understood as a translator who translates the Java advanced language into binary execution.
JDK can compile files. The compiled file extension is. class.
As long as JDK is supported, JAVA can run. This is the cross-platform nature of JAVA.
I downloaded JDK 8 from windows XP and the system prompts that JDK 6 is not supported.
JDK installed successfully
Configure the system environment variables as follows:
First, find the JDK installation directory.
Copy the path
Right-click my computer"
Click "advanced"-> "environment variable"
Find the following environment variables and click Edit.
In the operation, if there is no semicolon in the last text in the red box, add the semicolon, paste the copied bin path after the semicolon, and end with the semicolon
After editing, click OK.
After returning to the desktop, follow windows + R to create
Enter DOS
Enter java and press Enter. The following interface indicates that jdk is successfully installed.
Okay. Now JDK is installed successfully.
If you enter Java and the prompt is as follows, it indicates that your JDK software has not been installed successfully, or the system environment variable is not correctly set.