After a user configures the environment variable in Win7 system and enters the javac command in the command prompt box, a prompt appears: "“‘javac’ is not an internal or external command, nor is it a runnable program or batch. File & rdquo;, what is going on? Don't worry, the following small series will share with you the reason and solution for the Win7 command window prompt "javac is not an internal or external command".
Reason one: jdk is not installed, only jre
jdk1.7.0_60+jre is installed. If jdk is not installed, enter javac in cmd and it will prompt “ld”; ‘javac’ is not an internal or external command, nor a runnable program or batch file”.
Solution: Install jdk can be.
Reason 2: jdk and jre are installed, but the configuration fails
If jdk is installed, the javac input under normal cmd will be successful, and the following information will be displayed;
So, there is a problem with the environment configuration, we can check the following three places:
First, & rdquo; JAVA_HOME”
The content of JAVA_HOME is the jdk installation directory. The small series installation location: D: \\ Program Files (x86) \\ Java \\ jdk1.7.0_60, behind and without semicolon;
Second, check the CLASSPATH, this package is a jar Call. .;%JAVA_HOME%\\lib\\dt.jar;%JAVA_HOME%\\lib\\tools.jar; (front a little number and semicolon, followed by a semicolon at the end.) Or can be written as “.;%JAVA_HOME%\\lib; & rdquo; as shown, the same effect;
third, inspection & ldquo; PATH & ldquo; variables properly
PATH variable very simple means jdk bin directory. % JAVA_HOME% \\ bin;
completed more than a few would be no problem.
About the Win7 command window prompts "javac is not an internal or external command" solution to share with you here, there are friends who encounter this problem, you can follow the tutorial operation.
Network latency has been encountered by everyone, whether it is watching video or playing games. Esp
Mobile hard disk can provide a considerable storage capacity, is a more cost-effective mobile storag
Time is important to us, and time is money. Regardless of the time of the phone or
Method a: Change the Local Group Policy setting up and running the normal program 1, Win + R key pr
In the process of using the computer, sometimes we suddenly find that there are many processes runni