Home  >  Article  >  System Tutorial  >  How to solve "javac is not an internal or external command" problem

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

王林
王林forward
2024-01-03 09:44:401048browse

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!

Statement:
This article is reproduced at:somode.com. If there is any infringement, please contact admin@php.cn delete