Home  >  Article  >  System Tutorial  >  How to solve the problem that javac command cannot be found on Win10

How to solve the problem that javac command cannot be found on Win10

王林
王林forward
2024-01-06 17:21:30573browse

When users use the javac program in the win10 system, they will encounter a prompt saying that javac is not an internal or external command, which will cause the program to be unable to be used normally. This problem is most likely a variable setting problem, and users need to Go and set the variables again, or check for errors and modify them~

How to solve the problem that javac command cannot be found on Win10

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

1, -> ;->->->Add the following environment variables:

How to solve the problem that javac command cannot be found on Win10

2. The JAVA_HOME value is: (JDK installation directory)

How to solve the problem that javac command cannot be found on Win10

3. Path: Append (if your original path has; at the end, no need)

How to solve the problem that javac command cannot be found on Win10

4. Set the classpath environment variable, CLASSPATH The value is: (with a dot at the front).

How to solve the problem that javac command cannot be found on Win10

javac related issues:

>>>csgo cannot verify vac session

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

The above is the detailed content of How to solve the problem that javac command cannot be found on Win10. 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