Build a JavaEE development environment in Ubuntu

Source: Internet
Author: User
JavaEE is a very good Web framework, including JSP, Servlet, etc. Today we introduce how to build JavaEE development environment under Ubuntu: 1. In http://www.eclipse.org/downloads? OsType = download EclipseIDEforJavaEE from linux, which integrates EclipseIDE with the JavaEE plug-in. My version is EclipseIndigo, which is about MB.

JavaEE is a very good Web framework, including JSP and Servlet. Today we will introduce how to build a JavaEE development environment under Ubuntu:



1.
InHttp://www.eclipse.org/downloads? OsType = linuxDownloadEclipse IDE for Java EE, Which integrates the Eclipse IDE that contains the Java EE plug-in. My version is Eclipse Indigo, about MB.



2.
Decompress the package and directly create a folder. Run eclipse in the folder. Of course, you can also create a desktop starter, which is the same as the shortcut in Windows. You can place this folder anywhere. I have installed Eclipse IDE for Java SE before, but these two do not conflict.



For example:





3.
Now we need a Web server, of course, the first choice is Tomcat:
InHttp://tomcat.apache.org/Download the compiled image file of Tomcat.Tomcat 7.0.27 Released



4.
Decompress Tomcat to any directory, so that Tomcat is installed.


 

 

5.
Next we will create a new Web project to test:
Open Eclipse and the dialog box is displayed automatically. Set the workspace path:
For example:





6
SelectFile --> New --> Dynamic Web Project
In the displayed dialog box, enter the Project Name.HelloWorld
Set our Tomcat server in Target runtime:
Click the New Runtime... button on the right and select Apache Tomcat v7.0.





Click Next,Enter the Tomcat directory in Tomcat installation direction.And then click Finish.

 

 


As shown in figure:

 

Reading:

Install Tomcat http://www.linuxidc.com/Linux/2013-01/77770.htm in JavaEE environment under CentOS

Set up JavaEE Development Environment http://www.linuxidc.com/Linux/2012-01/52903.htm under Linux

 

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.