Ubuntu installation eclipse-SDK-3.3 Summary

Source: Internet
Author: User
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.

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.