红联Linux门户
Linux帮助

Ubuntu 8.10 Eclipse IDE

发布时间:2008-11-19 08:54:55来源:红联作者:Members
Download Eclipse
Open a web browser and go to http://www.eclipse.org/downloads/. There are several different bundles of Eclipse geared toward the different types of software development. You could take a basic Eclipse installation and manually build it into any one of these bundles. They are provided pre-bundled as a convenience for the developer. When in doubt, download the "Eclipse Classic" bundle. It is the most traditional bundle of Eclipse on the list. Select the Linux 32bit package, or 64bit if you're on an x86_64 system.

Preparing your system
We will set up a few folders for Eclipse in your home directory and unpack the Eclipse package into those folders.

Make an opt folder in your home directory:

$ mkdir ~/optChange directory to the folder where your browser downloaded the Eclipse package to. Then unpack Eclipse into the opt folder:

$ cd {directory where your browser downloaded the package to}
$ tar -xvf eclipse-SDK-3.4.1-linux-gtk.tar.gz && mv eclipse ~/optMake a bin folder in your home directory, this will be used for the startup script:

$ mkdir ~/binNext create an executable for Eclipe at ~/bin/eclipse with your favorite text editor by typing vi ~/bin/eclipse or nano ~/bin/eclipse into the command line. Add the following content:

export MOZILLA_FIVE_HOME="/usr/lib/mozilla/"
export ECLIPSE_HOME="$HOME/opt/eclipse"

$ECLIPSE_HOME/eclipse $*Finally, allow the script to be executed:

$ chmod +x ~/bin/eclipseYou can now execute that file to start up Eclipse.
文章评论

共有 0 条评论