Ubuntu installs some notes for the eclipse-SDK-3.3. 1, first download eclipse-SDK-3.3, this is the current latest version of eclipse official download: http://www.eclipse.org/downloads/2?install eclipse (1) to extract the eclipse-SDK-3.3 to a directory, I decompress to is/opt, obtain the/opt/eclipse directory.
Ubuntu installs some notes for the eclipse-SDK-3.3.
1, first download the eclipse-SDK-3.3, this is the latest version of eclipse
Download: http://www.eclipse.org/downloads/
2. Install eclipse
(1) extract the eclipse-SDK-3.3 to a directory, and decompress it to/opt to get the/opt/eclipse directory
To change the eclipse directory to root, run the following command:
Sudo chown-R root: root/opt/eclipse
Of course, you do not need.
(2) create a STARTUP script eclipse in the/usr/bin directory and execute the following command to create it:
Sudo vi/usr/bin/eclipse
If you are not familiar with the vi command, you can use the simple text editor gedit that comes with Ubuntu to create it with the following command:
Sudo gedit/usr/bin/eclipse
Add the following content to the file:
#! /Bin/sh
Export illa_five_home = "/usr/lib/mozilla /"
Export ECLIPSE_HOME = "/opt/eclipse"
$ ECLIPSE_HOME/eclipse $ *
(3) change the permission of the script to executable and execute the following command:
Sudo chmod + x/usr/bin/eclipse
3. Add the eclipse startup icon to the desktop or gnome menu.
(1) Add an 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:
Name: Eclipse Platform
Command: eclipse
Icon:/opt/eclipse/icon. xpm
(2) Add an icon on the Applications menu
Use a text editor to create an eclipse. desktop starter in the/usr/share/applications directory. Run the following command:
Sudo vi/usr/share/applications/eclipse. desktop
Or
Sudo gedit/usr/share/applications/eclipse. desktop
Add the following content to the file:
[Desktop Entry]
Encoding = UTF-8
Name = Eclipse Platform
Comment = Eclipse IDE
Exec = eclipse
Icon =/opt/eclipse/icon. xpm
Terminal = false
StartupNotify = true
Type = Application
Categories = Application; Development;
Save the file. Complete the installation process. You can double-click the eclipse icon on the desktop to run eclipse.