Verify that any previous installation has been completely removed. In particular, the following needs to be verified:
There is no eclipse folder under /opt. If there is, it must be deleted. Sudo access will be required to delete the folder.
There is no eclipse folder under /usr/local/share. If there is, it must be deleted. Sudo access will be required to delete the folder.
There is no entry for eclipse in either /usr/bin or /usr/local/bin. If there is, then the entry must be deleted.
There is no entry for eclipse.desktop in /usr/share/applications. If there is, then the entry must be deleted.
There is no configuration files for eclipse in the users' home folders. These are hidden directories. If there are any, these must be deleted.
Verify that there is a group called 'eclipse' and that users are authorized in that group:
Select System > Administration > Users and Groups.
Select Unlock and provide your password.
Select Manage Groups
Scroll the list to determine if there is a group called 'eclipse'. If there is not, then add the group.
Ensure that all users, including root, are members of the eclipse group.
Obtain the appropriate file from http://www.eclipse.org/downloads/packages/. Only one of the packages is required. The file should be saved to the Desktop.
When the download has been completed, open a Terminal and execute the following commands:
cd ~/Desktop (change to where the file was downloaded)
tar xzf eclipse-SDK-3.5-linux-gtk-x86_64.tar.gz (note that the filename may differ, depending on what was downloaded in step 2)
sudo mv eclipse /opt/eclipse (move the files to a folder under the /opt folder)
cd /opt (change to the /opt folder)
sudo chown -R root:eclipse eclipse (change the owner to root and the group to eclipse)
sudo chmod -R 775 eclipse (owner and group can read/write/delete, other users may read the files)
cd /opt/eclipse (change to the eclipse folder)
sudo chmod +x eclipse (eclipse must be executable)
Create a menu item. This is done by right-clicking on the menu on the top panel and adding the item. Note that the command is /opt/eclipse/eclipse. The icon can be found in the /opt/eclipse folder.