Home >Java >javaTutorial >java is not an internal or external command win10 how to solve

java is not an internal or external command win10 how to solve

王林
王林forward
2023-05-11 15:19:131904browse

1. 【My Computer】->Properties->【Advanced】- >【Environment Variables】->【System Variables】Add the following environment variables:

java is not an internal or external command win10 how to solve

2. The JAVA_HOME value is: [D:\Program Files\Java\jdk1.7.0_11] (JDK installation directory)

java is not an internal or external command win10 how to solve

3. Path: append [%JAVA_HOME%\bin] (if your original path has; at the end, no need)

java is not an internal or external command win10 how to solve

4. Set the classpath environment variable. The CLASSPATH value is: 【.;%JAVA_HOME%\lib\tools.jar;%JAVA_HOME%\lib\dt.jar;%JAVA_HOME%\bin;】 (frontmost There is a point).

java is not an internal or external command win10 how to solve

The above is the detailed content of java is not an internal or external command win10 how to solve. 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