Recently, some users have configured the environment variable in Win7 system. When entering 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". Let's go and have a look!
one reason: JDK is not installed, installed only jre
jdk1.7.0_60+jre is complete. If jdk is not installed, entering javac in cmd will prompt "“‘javac’ is not an internal or external command, nor a runnable program or batch file" .
Solution: Install jdk.
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. Such as the location of the small installation: D: \\ Program Files (x86) \\ Java \\ jdk1.7.0_60, and without a semicolon;
Second, check the CLASSPATH, this is a jar package 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; ” As shown, the same effect;
Third, check & ldquo; PATH & ldquo; variable is correct
PATH variable is very simple, is the meaning of jdk bin directory. %JAVA_HOME%\\bin;
The above are completed and there will be no problems.
The above content is a small series for everyone to bring about the Win7 command window prompts "javac is not an internal or external command" solution, there are friends who encounter this problem, you can follow the tutorial operation . I hope to help everyone!
Now many users are pursuing personalized desktops, and will add themes or wallpapers to their win7 6
KB3119142 is one of Microsofts routine updates in January this year, but the patch has been repeated
How does Win7 use the cmd command to turn off hibernation? The sleep state is a mode that is very po
Win7 system installation camera software appears error launching installer error, the specific probl
The complete set of telnet commands
Win8 start screen interface display desktop wallpaper background method diagram
How to charge Win10? Win10 free upgrade is not limited to
[Video] Win10 official version of Cortana simple experience
Explain a few things to know before using Linux on Win10 systems
Win7 system boot prompt password has expired reason and solution graphic tutorial
Win10 Build 15014 preview version of the Spectrum problem solution
Win7 task manager display incomplete solution
Win10 first anniversary update official version ISO official CD image free download address
How to close IE11 browser win10? win10 close IE11 browser tutorial
Windows 7 Comic Album: The Truth of Worries
Dare to Win8 remote desktop? Sunflower remote control super experience is simple and safe
How to set up a microphone in win7? Win7 set the microphone method
WP8.1 new machine front panel exposure, with virtual button
Win7 becomes the winner of the highest file permissions
Windows 7 finalized keyboard shortcuts and mouse actions
WinXP can't create video preview solution