Tomcat installation and installation settings for the Eclipse Tomcat plug-in

Source: Internet
Author: User

1: Download eclipse Java EE Development Platform address: http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/ Luna/sr1/eclipse-jee-luna-sr1-win32.zip

2: Download tomcat Web container address: http://tomcat.apache.org/download-80.cgi

3: Install Tomcat

3.1: Download install Java Run or development environment JDK or JRE address: http://www.oracle.com/technetwork/java/javase/downloads/index.html

3.2: Set the Java environment variable. Jre_home or Java_home (required) to set the PATH environment variable for JAVA development

3.3: Set the Tomcat environment variable, catalina_home (must be set) catalina_base (optional)

Note The settings for environment variables can be set by Apache-tomcat-8.0.12\bin Setclasspath.bat. Setclasspath.bat can only set the Java_homejre_home not be able to set the catalina_home, so the setting of the environment variable choose to create it yourself. Catalina_home for the extracted file directory, from the%catalina_home%\bin\shutdown.bat can see Catalina_home directory, Java_home and Catalina_home similar.

3.4: Click%catalina_home%\bin\startup.bat to enter in the browser: http://localhost:8080/is responding, then Tomcat is installed correctly.

4: Install the Tomcat plug-in for Eclipse Java EE. To start and stop Tomcat through Eclipse Tomcat, without having to go to the Tomcat directory every time.  Plugin Download Address: http://www.eclipsetotale.com/tomcatPlugin.html (put the extracted com.sysdeo.eclipse.tomcat_3.3.1.jar into eclipse Plugins directory), this plugin has the highest support TOMCAT7 does not support Tomcat 8.

5: Configure Tomcat in Eclipse, in Window->preferences->tomcat->tomcat Home (directory for Catalina_home) and context declaration Mode Select Server.xml.

6: Click in Eclipse if you can start Tomcat, the plugin is already configured.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.