Dmitri Makovetskiy wrote:...i went to the control panel>system>Environment variable
then i saved a path to program files\java\JDk 1.6.0.1_20 \bin
still doesnt recognize java
Make sure your setting is
exactly...
C:\Program Files\Java\jdk1.6.0_20\bin
The snippet you posted is missing "C:\" and has a space after "JDk" and another space after "20". (I don't think the uppercase "JD" should matter, but best to match this to the actual directory name, which is probably lowercase "jdk".)
Also, make sure it is separated from other PATH values by a semicolon with
no spaces...
value1;value2;value3;C:\Program Files\Java\jdk1.6.0_20\bin