How to install Eclipse Java ee in ubuntu

Source: Internet
Author: User
Tags gtk

Prerequisites, the JDK is already available in the system. Ubuntu has built-in OPENJDK.

The Eclipse in Ubuntu Software Library is the basic version, only JDT and PDE, unable to develop the Java EE program, this is not the same as fedora, so you can only manually install the Eclipse Java Edition.

1. To eclipse.org to download the Eclipse Compression Pack for Ubuntu, the latest version of the Eclipse package file name should be eclipse-jee-kepler-sr1-linux-gtk.tar.gz for the 32-bit system, and the downloaded compression pack will be placed in Under the ~/downloads directory;

2. Unzip eclipse to/usr/share directory: Enter terminal window, enter command sudo tar-zxvf eclipse-jee-kepler-sr1-linux-gtk.tar.gz-c/usr/share. Then you will be prompted to enter the password, do it;

3. Add eclipse to the Ubuntu app menu (just like set up a program group in the Windows Start menu):

3.1. Enter the command in the terminal window: sudo gedit/usr/share/applications/eclipse.desktop

3.2. Enter the following text in the editor:

[Plain]View PlainCopy
    1. [Desktop Entry]
    2. Name=eclipse Java EE
    3. Comment=eclipse IDE for Java EE
    4. Exec=/usr/bin/eclipse
    5. icon=/usr/share/eclipse/icon.xpm
    6. Terminal=false
    7. Type=application
    8. Categories=application;development;

4. Create an execution script for eclipse in/usr/bin:

4.1. Execute the command in the terminal window: sudo gedit/usr/bin/eclipse

4.2. Enter the following in the Gedit editor:

[Plain]View PlainCopy
    1. #!/bin/sh
    2. Export Eclipse_home= "/usr/share/eclipse"
    3. $ECLIPSE _home/eclipse $*


4.3. Set the eclipse execution script to executable:sudo chmod 755/usr/bin/eclipse

Ok!

How to install Eclipse Java ee in ubuntu

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.