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

王林
Release: 2023-05-11 15:19:13
forward
1892 people have browsed it

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!

Related labels:
source:yisu.com
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template