OS: Win7
Javac.exe is here: C:\Program Files\Java\jdk1.6.0_25\bin
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.
精彩评论