Before installing eclipse, confirm that you have installed jdk. 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. If you want to change the eclipse directory to root,
Before installing eclipse, confirm that you have installed jdk.
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