java comand works but not javac?

走远了吗. 提交于 2019-12-06 07:46:49

I had previously problems with the path containing a blank. I would suggest to change the path from

C:\Program Files\Java\jdk1.7.0_25

to

C:\Progra~1\Java\jdk1.7.0_25

Hope this solves your problem!

You can also try to specify the full pathname.

Instead of

%JAVA_HOME%\bin

try

C:\Program Files\Java\jdk1.8.0_101\bin

This worked for me on Windows 10 64-bit Education Edition with Java 8.0.101

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!