Home >Java >javaTutorial >Graphical tutorial on Java development environment configuration under win7 64bit
This article mainly introduces the configuration tutorial of Java development environment under win7 64bit in detail. It has certain reference value. Interested friends can refer to
Java development environment configuration (win7- 64bit)
1. Overview
Building a Java development environment generally requires the installation of JDK and JRE at the same time. JDK: Refers to the Java Development Kit, which is necessary when developing Java programs. JDK contains a part of the public JRE. JRE: A Java Runtime Environment, used when running developed Java programs.
2. Tools used in the text
Java SE basic tool kit: official website download
(There are many versions, choose the applicable version by yourself, omit the installation process, install Then take the next step)
3. Environment variable configuration
Java environment variables involve three Noun: JAVA_HOME, path, classpath. JAVA_HOME represents the JDK installation home directory, path represents the executable file directory under the JDK, and classpath represents the directory where class files need to be found when running a java program. PATH configures the location of the JDK command file.
My Computer (right click)→Properties
Advanced System Settings→Environment Variables
The system variable does not come with the JAVA_HOME variable. You need to edit it yourself as follows: (The variable value is the path to the JDK installation)
PATH already exists in the system variable. Select PATH → Edit
→ Use ";" to separate
→ Enter the path of Bil (for example, my path is: C:\Program Files\Java\jdk1.8.0 _60\lib)
4. Test
Open and run àcmdà and enter java/javac for verification (the effect of successful verification is as follows)5. Notes
If you use JDK version 1.5 or above, you can compile and run Java programs normally without setting the CLASSPATH environment variable.The above is the detailed content of Graphical tutorial on Java development environment configuration under win7 64bit. For more information, please follow other related articles on the PHP Chinese website!