Hi,
I am getting the below error when I try to execute java2wsdl command.
I am working on Windows 7 env.
c:\JRE\lib>
java -version
java version "1.6.0_24"
Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02, mixed mode)
c:\JRE\lib>path
PATH=C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Wi
ndows Live;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;C:\Progra
m Files\Lenovo\Bluetooth Software\;C:\Program Files\Lenovo\Bluetooth Software\syswow64;C:\Program Files (x86)\Windows Li
ve\Shared;C:\Program Files\axis2-1.3-bin\axis2-1.3\lib;C:\JRE\bin;
c:\JRE\lib>echo java_home
java_home
c:\JRE\lib>echo %JAVA_HOME%
C:\JRE\bin
c:\JRE\lib>cd "\Program Files\axis2-1.4.1\bin"
c:\Program Files\axis2-1.4.1\bin>dir
Volume in drive C has no label.
Volume Serial Number is B877-E9B5
Directory of c:\Program Files\axis2-1.4.1\bin
21/04/2011 15:45 <DIR> .
21/04/2011 15:45 <DIR> ..
17/04/2008 04:34 2,766 axis2.bat
17/04/2008 04:34 1,853 axis2.sh
17/04/2008 04:34 3,161 axis2server.bat
17/04/2008 04:34 1,443 axis2server.sh
21/04/2011 15:45 2,919 java2wsdl.bat
17/04/2008 04:34 868 java2wsdl.sh
17/04/2008 04:34 3,492 setenv.sh
17/04/2008 04:34 2,822 wsdl2java.bat
17/04/2008 04:34 866 wsdl2java.sh
9 File(s) 20,190 bytes
2 Dir(s) 408,092,667,904 bytes free
c:\Program Files\axis2-1.4.1\bin>java2wsdl
The JAVA_HOME environment variable is not defined correctly
This environment variable is needed to run this program
NB: JAVA_HOME should point to a JDK/JRE
c:\Program Files\axis2-1.4.1\bin>
Lost whole day, so far no luck, any advices from the ranchers?
Thanks
Rafi.