Home > Java > javaTutorial > How to solve win7 java is not an internal or external command

How to solve win7 java is not an internal or external command

王林
Release: 2023-05-05 13:52:06
forward
1573 people have browsed it

Solution:

1. Firstcheck whether jdk and jre have been installed successfully. If you still cannot configure it after the installation is completed, please perform the following operations.

win7 java不是内部或外部命令如何解决

2. Open the environment variable settings, then find [JAVA_HoME] to edit, and put the variable value into your installation location, for example: [d:\program Files (x86)\Java\jdk1.7.0_60】

win7 java不是内部或外部命令如何解决

3. Then find [CLAsspATH]. Enter 【.;%JAVA_HoME%\lib\dt.jar;%JAVA_HoME%\lib\tools.jar;】

win7 java不是内部或外部命令如何解决

4. Then open [pATH] and enter [%JAVA_HoME%\bin;]. Then after confirming and saving, you can perform normal configuration and use.

win7 java不是内部或外部命令如何解决

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