Home > Back-end >  There was a 'javac JDK installation not internal or external command, nor can run a program or
There was a 'javac JDK installation not internal or external command, nor can run a program or

Time:10-21

Java and Java version, not a javac, have a few days for bosses help me kangkang!!!!!!



CodePudding user response:

Environment variables with the first and the last one, and the path, after tried many methods, is useless,

CodePudding user response:

Very simple, you execute the following command
Dir % java_home % \ bin
Dir % java_home % \ jre \ bin
See if there are any javac, if any, to perform
The echo path % %
See if the path environment variable is there anything wrong with the


CodePudding user response:


Javac in JDK bin,

You put the java_home (case no unified) refers to the jre, used in java_home path leading to the JDK bin is not in system path

CodePudding user response:

refer to the original poster tamarisk0 response:
Java and Java version, not a javac, have a few days for bosses help me kangkang!!!!!!


Set the JDK need careful ah, java_home to set the path of the JDK, you can set the jre so useless! Please watch set strategy, don't get mixed up the jre and JDK,

CodePudding user response:

Thank you ao, ok! Hee hee
  • Related