Before installing Eclipse3.3.1 on Ubuntu7.10, make sure that JDK is installed correctly. DownloadEclipseSDKfromitsmainsite (ChooseEclipseClassic): http://www.eclipse.org/downloads/extractthe?sedownloadandmoveto/opt.if you want to install Eclipse 3.3.1 on Ubuntu 7.10, ensure that JDK is installed correctly.
Download Eclipse SDK from its main site (Choose Eclipse Classic ):
Http://www.eclipse.org/downloads/
Extract the eclipse download and move to/opt.
To change the eclipse directory to root, run the following command:
Sudo chown-R root: root/opt/eclipse
Of course, you do not need.
Then create an eclipse executable
Sudo touch/usr/bin/eclipse
Sudo chmod 755/usr/bin/eclipse
Create the file
Sudoedit/usr/bin/eclipse
With the content:
#! /Bin/sh
Export illa_five_home = "/usr/lib/mozilla /"
Export ECLIPSE_HOME = "/opt/eclipse"
$ ECLIPSE_HOME/eclipse $ *
If you use gnome, create a shortcut
Sudoedit/usr/share/applications/eclipse. desktop
With the content:
[Desktop Entry]
Encoding = UTF-8
Name = Eclipse
Comment = Eclipse IDE
Exec = eclipse
Icon =/opt/eclipse/icon. xpm
Terminal = false
Type = Application
Categories = GNOME; Application; Development;
StartupNotify = true
Add the icon on the desktop or startup panel:
Create a new starter on the desktop (right-click desktop> Create initiator) or panel (right-click Panel> Add to Panel> Custom application launcher, then add the following data:
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