How to solve 'javac is not an internal or external command' problem

王林
Release: 2024-01-03 09:44:40
forward
1067 people have browsed it

What should I do if javac is not an internal or external command? After using environment variables and other configurations, users often encounter this situation, etc., resulting in the failure to use it normally. This problem may be due to improper settings, or There is a problem with the environment configuration, then come here to see the detailed tutorials and solutions~

How to solve javac is not an internal or external command problem

What to do if javac is not an internal or external command:

1 , find the bin directory under the java installation, run, enter, you can get a prompt, indicating that there is a problem with the environment configuration

How to solve javac is not an internal or external command problem

How to solve javac is not an internal or external command problem

2, then open the input :

How to solve javac is not an internal or external command problem

3. Check whether there are any extra symbols in the java-related java-related paths, such as extra semicolons and commas. As shown in the picture above, it is the normal path

Correct:

How to solve javac is not an internal or external command problem

Wrong:

How to solve javac is not an internal or external command problem

4 , right click after the error, click and select

How to solve javac is not an internal or external command problem

5, then open

How to solve javac is not an internal or external command problem

6 on the left, and then under Settings , click

How to solve javac is not an internal or external command problem

#7, and then set it. The variable value is the installation path of jdk.

How to solve javac is not an internal or external command problem

8. Then set the variable and fill in the variable value

How to solve javac is not an internal or external command problem

9. Then add the path setting, select it, and click , add

How to solve javac is not an internal or external command problem

at the end. 10. Click OK. After the settings are completed, close the interface, reopen the CMD command window, enter, and then you can see the relevant information

How to solve javac is not an internal or external command problem

javac's related articles:

>>> vac cannot verify your game session csgo

>>> telnet Not recognized as an internal or external command win10

The above is the detailed content of How to solve 'javac is not an internal or external command' problem. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:somode.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