search
HomeJavaJavaBaseHow to configure the java environment

How to configure the java environment

Nov 16, 2019 am 11:42 AM
javaenvironmentConfiguration

How to configure the java environment

1. Right-click My Computer--Properties, click Advanced System Settings---Environment Variables. In the system variables, create a new system variable named "JAVA_HOME". The variable value is the installation path of jdk. For example, my installation is in C:\Program Files\Java\jdk1.7.0_80

How to configure the java environment

2. Find the system variable Path and add ;%JAVA_HOME%\bin;%JAVA_HOME%\jre\bin; after the original variable value;

Note: If Finally, it already exists; no need to add

How to configure the java environment

3. Then create a new variable name: classpath

Variable value: .;%JAVA_HOME%\lib;%JAVA_HOME% \lib\tools.jar click OK

How to configure the java environment

Recommended tutorial: Java tutorial

The above is the detailed content of How to configure the java environment. For more information, please follow other related articles on the PHP Chinese website!

Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. How to Fix Audio if You Can't Hear Anyone
1 months agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Chat Commands and How to Use Them
1 months agoBy尊渡假赌尊渡假赌尊渡假赌

Hot Tools

WebStorm Mac version

WebStorm Mac version

Useful JavaScript development tools

SAP NetWeaver Server Adapter for Eclipse

SAP NetWeaver Server Adapter for Eclipse

Integrate Eclipse with SAP NetWeaver application server.

VSCode Windows 64-bit Download

VSCode Windows 64-bit Download

A free and powerful IDE editor launched by Microsoft

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Atom editor mac version download

Atom editor mac version download

The most popular open source editor