1) Got to install JDK 5.0, not the latest 6.0; it just won't work.
2) Got to set environment JAVA_HOME to point to jdk1.5.xxx\lib directory. But purely doing this didnt work for me too ... needed to copy and paste tools.jar from the jdk1.5.xxx\lib to jre1.5.xxx\lib; totally jinxed..
3) Install Ant1.7; set ANT_HOME to point at the Ant1.7 directory and add Ant1.7\bin into the PATH system variable. This works like a charm.
4) To build tomcat, use a command prompt and navigate to tomcat directory where you see the build.xml file. Run the command <>
a couple of clinches here: 1st, make sure you are connected to the web;
2nd, if the error C:\apache-tomcat-6.0.14-src\build.xml:635: Can't get http://sunsite.informatik.rwth-aachen.de/eclipse/downloads/drops/R-3.2.2-200702121330/eclipse-JDT-3.2.2.zip to C:\usr\share\java\file.zip, download it manually by going to http://archive.eclipse.org/eclipse/downloads/drops/R-3.2.2-200702121330/eclipse-JDT-3.2.2.zip
5) There!! Tomcat is built successfully at last!
No comments:
Post a Comment