Home >Java >javaTutorial >How to build JAVA language environment
1. Download JDK
2. Install JDK
Installation for fools
3. Configure environment
Create a new JAVA_HOME environment variable
Create a new classpath environment variable
Added new Path variable
4. Check whether the installation is successful
Enter java -version in cmd to view the java version
Enter javac -version to view the javac version
5. What are JDK and JRE
JRE: Java's running environment, including the virtual machine JVM required for Java to run.
JDK: Java development tool kit, including JRE, compilation tools, packaging tools, etc.
The above is the detailed content of How to build JAVA language environment. For more information, please follow other related articles on the PHP Chinese website!