0
HELP!!!
My cmd dont recognize the javac, please help! "javac does not recognize as internal and external command"
6 Antworten
+ 1
Check your javac path on Windows using Windows Explorer C:\Program Files\Java\jdk1.7.0_02\bin and copy the address.
Go to Control Panel. Environment Variables and Insert the address at the beginning of var. Path followed by semicolon. i.e C:\Program Files\Java\jdk1.7.0_02\bin; . Do not delete the path existent, just click in and go to the left end and paste the line above. Do not try anything else, because you just need to link your code to "javac.exe" and you just need to locate it.
Close your command prompt and reopen it,and write the code for compile and execution.
+ 1
Oh now it worked, with \bin. Thanks!
0
Its correct!
http://imgur.com/a/AUd0c
0
Also check for If java command is working and getting problem with javac. then first check in jdk's bin directory javac.exe file is there or not.
0
If you already have PATH set with the java location, check one more time if you have added path till the bin folder. So adding c:\Program Files\Java\jdk1.7.0_17 is not correct. You need to add c:\Program Files\Java\jdk1.7.0_17\bin.
0
Great Keep Coding 👍✌