Install Eclipse in Ubuntu and configure the startup command line

Source: Internet
Author: User
Running): running (such as/opt) command: sud

Install Eclipse in Ubuntu and configure the startup command line

1 下((my choice is eclipse-jee-juno-sr1-linux-gtk-x86_64.tar.gz): http://www.eclipse.org/downloads/

2. Install eclipse

Extract eclipse-jee-juno-sr1-linux-gtk-x86_64.tar.gz from a directory (for example,/opt)

Command: sudo tar-zxvf eclipse-jee-juno-SR1-linux-gtk-x86_64.tar.gz/opt/

3. Configure the startup command line (your jdk is installed under/opt by default)

1) Run The sudo geidt/usr/bin/eclipse command to create a file and add the following content:

#! /Bin/sh

Export illa_five_home =/usr/lib/mozilla/

Export ECLIPSE_HOME =/opt/eclipse

Export JAVA_HOME =/usr/java/jdk1.5.0 _ 22

Export CLASSPATH =.: $ JAVA_HOME/lib/dt. jar: $ JAVA_HOME/lib/tools. jar

Export PATH = $ PATH: $ JAVA_HOME/bin

$ ECLIPSE_HOME/eclipse $ *

2) Run The sudo command

Chmod-x

/Usr/bin/eclipse is set to Executable

3) execute eclipse

OK!

For more information about Ubuntu, see Ubuntu special page http://www.linuxidc.com/topicnews.aspx? Tid = 2

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.