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
What if the win7 task manager is disabled?
Open the computer and appear "Windows failed to start normally, it may be..."
Win7 upgrade win8 system after the mouse appears intermittent failure of the two solutions
Win7 computer system jitter window function qq how to disable the qq
Win7 system boot prompt "password has expired" how to solve
How to set the number of switching windows displayed in win7 computer?
Users are worried about the privacy rights of Win10 system.
How to install Win7? Recommended 3 kinds of Windows7 installation method
How does Win8 remove the white loading words and progress bar at startup
"NTLDR is missing Press any key to restart" solution
Open Win 8 automatic backup, easy to delete files
Windows XP Broadband Application Tips
How does Win7 turn off Windows Mobile Center?
How to solve the Sogou browser compatibility mode stop working?