1. Introduction of my computer system and the way to download JDK and Eclipse
1. First explain my computer for Win10 system, 64-bit operating system ~
2. I chose to download JDK version 1.8. To give you two download channels, convenient for everyone to download ~
-
The JDK’s official website: www.oracle.com/technetwork…
-
Baidu network backup version: link: pan.baidu.com/s/1qz5I7Ibj… Extract code: P6Z8 (Baidu netdisk version contains win64 version JDK)
3.Eclipse recommends downloading from the official website. It is easy to make mistakes using the installation package shared by others
- The Eclipse’s official website: www.eclipse.org/downloads/
2. Download JDK1.8 from the official website
-
Open the JDK’s official website: www.oracle.com/technetwork…
-
Find this version 1.8
-
Choose the download package suitable for your own system (but you need to use Orical account to download from the official website, there is no one to register)
3. Installation method of JDK1.8
-
Double-click the downloaded JDK1.8 Program to go to the following installation page (it is recommended to use the default path [C: \Program Files……]) The download)
-
After the installation is complete, open the file location.
-
Right click on My Computer and select Properties — > Advanced System Settings — > Environment Variables — > System Variables
Right click on My Computer and select Properties.
[Advanced System Settings]
【 Environment variables 】
[System variables]
4. Configure environment variables
- Add variable (select New system variable) : JAVA_HOME
- Add variable (select New system variable) : CLASSPATH
- Modify the PATH variable:
5. Test
-
Use the Win key +R to enter CMD to enter the command prompt window
-
Enter javac and the image below will be deemed successful.
- Enter Java and the image below will be deemed successful.
6. Open the downloaded Eclipse installation package
1. Start Eclipse.
To this JDK installation and Eclipse open to complete ~~
If you think xiaoqiao’s writing is good, please help me like it and collect it. Your praise, collection is my biggest power ~
Pay attention to xiaoqiao public number [Xiaoqiao programming content sharing station] continue to update, more Java dry goods waiting for you to learn!