Java configuration and Eclipse installation, java configuration eclipse
Click to download jdk
Download the 32-bit or 64-bit version from your computer ~
When jdk is installed:
1: Find the jdk path
2: Configure environment a: Right-click "computer", click "properties", and click "Advanced System settings" in the left section of the pop-up interface"
Select the "advanced" tab and click "environment variables" in the lower part"
In "system variables", set the three attributes JAVA_HOME, CLASSPATH, and Path.
JAVA_HOME = jdk path
Javapath =.; % JAVA_HOME % \ lib \ dt. jar; % JAVA_HOME % \ lib \ tools. jar;
Path = % JAVA_HOME % \ bin;
Run the cmd command to test
Enter javac
Instructions configured ~
Install Eclipse
Download http://yunpan.cn/Q7jmTTDLH7ZG3 extract code 57dd
Step by step ~
By wust_zhanpang
Java environment configuration and how to install Eclipse
Jdk can be found in Baidu. After installation, you can use it.
Later eclipse is just a tool to assist in code writing, so it is best not to use it.
Two environment variables are configured.
Path
Classpath
The first is the address of the java.exe file in the jdk directory.
The second is the address of your current java file.
Java application configuration in eclipse
As long as your jdk is successfully installed and configured, You can compile and run it in eclipse. You only need to select your jdk when installing eclipse.