You don't have the JDK installed or do not have it set properly in your JAVA_HOME environment variable.
I have seen my JAVA_HOME in environment variable is:
C:\Sun\AppServer\bin;C:\Program Files\Java\jdk1.5.0_06;C:\Program Files\Java\jre1.5.0_06
and I have installed correctly JDK I think.
It's why I don't understand why it doesn't work.
thank you for your help
So if C:\Program Files\Java\jdk1.5.0_06 is the path to your JDK, your JAVA_HOME should point to that and only that, i.e.
set JAVA_HOME="C:\Program Files\Java\jdk1.5.0_06"
thanks I think that I have done this but no because it works now. thank you very much.
1) make certain you have not set JAVA_HOME to a JRE.
2) It is good practice in windows to place the JAVA_HOME directory directly under your root (c:/dk1.5.0....../)
Have fun -
Correction to a copy\paste typo :