0

HELP!!!

My cmd dont recognize the javac, please help! "javac does not recognize as internal and external command"

9th Dec 2016, 11:03 AM
Kaka Nunes
Kaka Nunes - avatar
6 Respostas
+ 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.
9th Dec 2016, 11:11 AM
Vipul Walia
Vipul Walia - avatar
+ 1
Oh now it worked, with \bin. Thanks!
9th Dec 2016, 11:20 AM
Kaka Nunes
Kaka Nunes - avatar
9th Dec 2016, 11:13 AM
Kaka Nunes
Kaka Nunes - avatar
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.
9th Dec 2016, 11:15 AM
Vipul Walia
Vipul Walia - avatar
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.
9th Dec 2016, 11:18 AM
Vipul Walia
Vipul Walia - avatar
0
Great Keep Coding 👍✌
9th Dec 2016, 11:21 AM
Vipul Walia
Vipul Walia - avatar