I have added Path variable 'C:\Program Files\Java\jdk1.6.0_21\bin'
in Environment Variables, but it still gives me this error: 'javac' is not recognized as an internal or external command, operable program or batch file
when I try to run javac mycode.java
. I am going insane, please help. Thanks.
Close the command prompt window and open it again so that the new environment variables take effect.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With