What i did 1. Installed Java 1.6 2. installed Java EE 3. Env Variables J2EE_HOME to C:\Java\SDK JAVA_Home to C:\Java\JDK\bin added C:\Java\SDK\bin;C:\Java\JDK\bin to PATH added %J2EE_HOME%\lib\j2ee.jar to CLASSPATH 4. ran java -Xmx256m -jar glassfish-installer-v2ur2-b04-windows.jar from its location and got installation complete.
Problem... --------- When i run ant -f setup.xml i get the command not recognized error... I didnt install ant separately since it said it is optional I havent used ant before plese help me how to get this up and running.
Other questions --------------- 1)I get command not recognized for j2ee -verbose too...is the new version installation different from the old? 2) the same error i get when i try java -version with only the JAVA_HOME and the path variable not added c:\Java\SDK\bin.