Home >Java >javaTutorial >How to build JAVA language environment

How to build JAVA language environment

WBOY
WBOYforward
2023-05-05 12:28:061837browse

JAVA language environment construction

1. Download JDK

2. Install JDK

Installation for fools

3. Configure environment

Create a new JAVA_HOME environment variable

How to build JAVA language environment

Create a new classpath environment variable

How to build JAVA language environment

Added new Path variable

How to build JAVA language environment

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

How to build JAVA language environment

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!

Statement:
This article is reproduced at:yisu.com. If there is any infringement, please contact admin@php.cn delete