简体   繁体   中英

'javac' is not recognized

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.

关闭命令提示符窗口并再次打开它以使新环境变量生效。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM