My roommate played the king again and I learned the installation steps of Java 1.8

xdm, school starts soon, this semester is indispensable to learn Java, first get the jdk development tools, then you can teach others, if you like 10 in this issue, will update the next article.

JDK download and installation

The Java language was developed by Sun (Sun Microsystems) and was acquired by Oracle (Oracle) in 2009, so JDK needs to be downloaded from Oracle at present. Oracle's official website address: https://www.oracle.com.

1. Click on the official website above, click on Products to find Java to enter, as shown below:

2. Find Download java on the upper right and click it.

3. Swipe down to find the windows system, and then my computer system is 64-bit, so I choose the second one.

4. Check the box and click OK.

5, requires registration, user login, this is inevitable.

6. Find the file you downloaded, click it, and then click Next.

7. You can change the directory. Generally, it is on the c drive by default. It is recommended not to put it on the c drive. I choose to put it on the D drive and create a new folder java.

8. Downloading the JDK itself comes with jre, but we still download the new jre in the folder, in case the later installation of eclipse will not report an error because of the jre.

9. Then close.

10. Then configure the environment variables, find this computer, right-click, find properties and click, find advanced system settings and click.

11. Click Environment Variables.

12. Click Edit, enter JAVA_HOME, and download the jdk directory. Note that the bin directory is not included.

13. Find the Path variable and click Edit.

14. Then create a new path variable, enter %JAVA_HOME%\bin, and click OK. At this point, the environment variables are configured.

15. Verify, press win+r at the same time to open the command window and enter javac.

16, and then enter java -version, this step is successful.


Enter java -version, this step is successful.

insert image description here
Gifts of roses, hand a fragrance

Guess you like

Origin blog.csdn.net/A6_107/article/details/123055531