Eclipse's Tomcat plugin installation here to note: Tomcat plugin is tomcat plugin, Tomcat is Tomcat, the two can not be confused! )
First, the software download
- Eclipse3.6 IDE for Java EE developers:: http://eclipse.org/downloads/
- Tomcat Eclipse Plugin,: http://www.eclipsetotale.com/tomcatPlugin.html
Second, software Installation and configuration (graphic)
1. Unzip the eclipse into a directory, such as/usr/local/eclipse.
2. Unzip the Tomcat plugin into the plugins directory in the Eclipse directory.
Then open it again . Eclipse , but could not find Tomcat the display of the plugin. The workaround is to start with the Startup.jar provided by Eclipse for the first time . The file is under the Eclipse directory.
the command is re-read into Eclipse IDE plug-in information, and start Eclipse . Eclipse menu items and toolbars can now be displayed as
This is not yet possible from Eclipse start now Tomcat , you need to specify Tomcat the installation directory. Choose Eclipse 's menu window-preferences ... , open preferrences window
Select Tomcat this item, and then select Tomcat the version number, specifying Tomcat the installation path. the Tomcat configuration file is automatically acquired. Other options are available by default.
Click on the first Hung Cat button on the toolbar to start Tomcat , can be in Eclipse Console to see the startup information.
PS: Under Windows, Tomcat has two versions, zip compression format and EXE installation format. If you use the installation format, there is no Tomat startup script in the%catalina_home%\bin directory.
Unzip the Tomat in the zip format to d:\, setting the environment variables as follows:
Java_home=d:\java\jdk1.5.0_07
Catalina_home=d:\tomcat
To facilitate Tomat startup, add%catalina_home%\bin to the PATH environment variable. The tomcat server can be started by entering Catalina start or Catalina run in the DOS window, where the former outputs Tomcat boot information in the New DOS window, which outputs the information in the original DOS window. To shut down the Tomcat server, enter Catalina stop in the DOS window.