Java environment construction under Window system

JDK download

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:

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

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.

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

Step 5: After installation is the following folder

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.

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)

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

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.

【Window10】:

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

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)

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

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.

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

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

Step 3: Open Eclipse

Step 4: Select the workspace and click OK

Step 5: Welcome Page

Step 6: Close the welcome page

Step Seven: You're Done

Finally:  The complete software testing video learning tutorial below has been sorted out and uploaded, and friends can get it for free if they need it【保证100%免费】

insert image description here

 These materials should be the most comprehensive and complete preparation warehouse for [software testing] friends. This warehouse has also accompanied tens of thousands of test engineers through the most difficult journey. I hope it can help you too!

软件测试技术交流群社:786229024(里面还有工作内推机会,毕竟我们是关系社会。)

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.

How to obtain interview documents:

Guess you like

Origin blog.csdn.net/wx17343624830/article/details/130019099