Can't build the Java environment? This article takes you to understand how to install Java under Windows!

JKD download URL——

https://www.oracle.com/java/technologies/javase/javase-jdk8-downloads.html

1. If you are a 32-bit system, download jdk-8u241-windows-i586.exe (32-bit);

2. If you are a 64-bit system, download jdk-8u241-windows-x64.exe (64-bit)

Install

Step 1: Double-click the exe file of the jdk installation package and the following figure will appear:

picture

Step 2: Click Next, remember the jdk installation path (do not install in a directory with Chinese or special characters)

picture

Step 3: After installing JDK, the installation of JRE will appear. JRE is already included in JDK, no additional installation is required, just click X.

picture

Step 4: Click Close, this is the end. JDK has been installed.

picture

Step 5: After installation is the following folder

picture

Configure environment variables

【Window7】:

Step 1: After installing the JDK, configure the environment variables. Right click on the computer → system properties → advanced system settings → advanced → environment variables.

picture

Step 2: Click Environment Variables, System Variables → New JAVA_HOME (be careful not to write wrong) variable. Fill in the variable value with the installation directory of jdk (mine is D:\Program Files\Java\jdk1.8.0_161)

picture

Step 3: System Variables → Find the Path variable → Edit and enter %JAVA_HOME%\bin; (note the semicolon) at the top of the variable value. The reason for placing it at the top is to prevent other variables from interfering

picture

Step 4: Check whether the configuration is successful. Run cmd and enter java -version (there is a space between java and -version). If the version information is displayed as shown in the figure, it means that the installation and configuration are successful.

picture

【Window10】:

Step 1: After installing the JDK, configure the environment variables. Right click on the computer → system properties → advanced system settings → advanced → environment variables.

picture

Step 2: Click Environment Variables, System Variables → New JAVA_HOME (be careful not to write wrong) variable. Fill in the variable value with the installation directory of jdk (mine is D:\Program Files\Java\jdk1.8.0_161)

picture

Step 3: System Variables→Find the Path variable→Edit Enter %JAVA_HOME%\bin at the top of the variable value (note that no semicolon is required), the reason for putting it at the top is to prevent other variables from interfering

picture

Step 4: Check whether the configuration is successful. Run cmd and enter java -version (there is a space between java and -version). If the version information is displayed as shown in the figure, it means that the installation and configuration are successful.

picture

Install Eclipse

Download the official website——

https://www.eclipse.org/downloads/packages/

The latest version of:

https://mirrors.tuna.tsinghua.edu.cn/eclipse/technology/epp/downloads/release/2019-12/R/eclipse-jee-2019-12-R-win32-x86_64.zip

【Install】

Step 1: Unzip Eclipse, do not include special symbols and Chinese in the decompression path

picture

Step 2: Set UTF-8 encoding, add -Dfile.encoding=UTF-8 to the last line in eclipse.ini

picture

Step 3: Open Eclipse

picture

Step 4: Select the workspace and click OK

picture

Step 5: Welcome Page

picture

Step 6: Close the welcome page

picture

Step Seven: You're Done

picture

Finally: In order to give back to the die-hard fans, I have compiled a complete software testing video learning tutorial for you. If you need it, you can get it for free【保证100%免费】
insert image description here

Software Testing Interview Documentation

We must study to find a high-paying job. The following interview questions are the latest interview materials from first-tier Internet companies such as Ali, Tencent, and Byte, and some Byte bosses have given authoritative answers. Finish this set The interview materials believe that everyone can find a satisfactory job.

insert image description here
insert image description here

Supongo que te gusta

Origin blog.csdn.net/m0_67695717/article/details/132048583
Recomendado
Clasificación