开发者

javac.exe is not recognized

开发者 https://www.devze.com 2023-03-08 12:18 出处:网络
OS: Win7 Javac.exe is here: C:\\Program Files\\Java\\jdk1.6.0_25\\bin User variable defined as JAVA_HO开发者_如何学CME is this: C:\\Program Files\\Java\\jdk1.6.0_25

OS: Win7

Javac.exe is here: C:\Program Files\Java\jdk1.6.0_25\bin

User variable defined as JAVA_HO开发者_如何学CME is this: C:\Program Files\Java\jdk1.6.0_25

User Variable defined as PATH is %JAVA_HOME%\bin;

I also restarted the computer. But in cmd if I say java -version it understands it but if I say javac -version, it does not recognize it.

How is this caused and how can I fix it?


You have spaces in the PATH, so Windows cannot find the Java bin directory.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号