Download and install JDK1. Download
JDK: Download website address
This download is the latest version, the following is the previous version
Next
After you enter the download page, the version number that you want to download first, and then see if your computer's system is 64-bit or 32-bit, 64-bit compatible with 32-bit, that is, 64-bit system can run a 32-bit JDK.
2. Computer system View
My Computer, right-click Properties
3. Select a version for your computer to download
With the Linux system is the big God, it is not marked out!
then click Download
4. Installation
After the download is complete
Then point to the next step, until you can change the installation path, here need to remember the installation path , preferably not installed in the system disk. Continue to click Next.
Environment variable configuration method one (mostly on the internet)
My Computer, right-click Properties
Next
1. Create Java_home
Click "New" under "System variables"
Create variable name: java_home, variable value for your JDK installation address
Find your installation Letter
Copy Address to Variable value
2. Create Classpath
Under "User Variables", click "New"
Variable name: classpath variable value.; %java_home%\lib; (punctuation must not be lost)
3. Edit the PATH variable
Locate the path variable in the system variable
At last add;%java_home%\bin;%java_home%\jre\bin
Just click on OK after clicking.
Method Two method Three
Java environment variable Configuration