- Install Java. Make sure you have Java 6 installed.
- Unzip Tomcat.Unzip tomcat-7.0.8-preconfigured.zip.
- Download Eclipse 3.6 (Helios).Install the Java EE version of Eclipse 3.6. If you have JDK 1.6.0_21, you must fix the Eclipse permgen space error.
- Tell Eclipse about Tomcat. Start Eclipse and go to the Workbench. Click on Servers tab at bottom. R-click, New, Server, Apache, Tomcat v7.0, navigate to Tomcat installation folder (e.g.,C:\apache-tomcat-7.0.8), OK.
- Test the server.Test Tomcat within Eclipse.
- Adjust Eclipse preferences.Suppress unnecessary warnings about serialized classes. Window, Preferences, Java, Compiler, Errors/Warnings, change "Serializable class without ..." to "Ignore". Many other personal preferences re font size, indentation style, etc.
| - Install Java. Make sure you have Java 5 or 6 installed.
- Unzip Tomcat.Unzip tomcat-6.0.28-preconfigured.zip.
- Download Eclipse.Install the Java EE version of Eclipse. If you have JDK 1.6.0_21, you mustfix the Eclipse permgen space error.
- Tell Eclipse about Tomcat. Start Eclipse and go to the Workbench. Click on Servers tab at bottom. R-click, New, Server, Apache, Tomcat v6.0, navigate to Tomcat installation folder (e.g.,C:\apache-tomcat-6.0.28), OK.
- Test the server.Test Tomcat within Eclipse.
- Adjust Eclipse preferences.Suppress unnecessary warnings about serialized classes. Window, Preferences, Java, Compiler, Errors/Warnings, change "Serializable class without ..." to "Ignore". Many other personal preferences re font size, indentation style, etc.
| - Install Java. Make sure you have Java 5 or 6 installed. Detailshere.
- Unzip Tomcat. Unziptomcat-6.0.28-preconfigured.zip into the top level of the C drive. Details here.
- Set
JAVA_HOME. Set this environment variable to point at the top-level of your Java installation directory (e.g., C:\Program Files\Java\jdk1.6.0_21). Use the Control Panel or see this sample autoexec.bat file. Details here.
- Set
CLASSPATH. Set this environment variable to include ".",C:\Servlets+JSP, and the servlet/JSP JAR files. Use the Control Panel or see this sample autoexec.bat file.
- Test the server. Make sure you can start/stop the server. Test some sample HTML files, JSP pages, and servlets.
|