Detailed steps for manual installation of Eclipse3.7.1 under Ubuntu11.10

Source: Internet
Author: User
Install Eclipse3.7.1 manually under Ubuntu11.10. Detailed steps: 1.download eclipse-sdk-3.7.1-linux-gtk.tar.gz later. Steps for manually installing Eclipse 3.7.1 in Ubuntu 11.10: 1. DownloadEclipse-SDK-3.7.1-linux-gtk.tar.gz Http://eclipse.org/downloads

2.decompress eclipse-sdk-3.7.1-linux-gtk.tar.gz to the installation directory/usr/local/

Tar-zxvf eclipse-SDK-3.7.1-linux-gtk.tar.gz/usr/local/
// Set the eclipse directory permission to the current user
Sudo chown-R husw: husw eclipse
// If you want to start with root, set as follows:
Sudo chown-R root: root eclipse
// The command line can be started after decompression.
Sudo/usr/local/eclipse


3. Create an eclipse menu for Ubuntu (optional)
Sudo gedit/usr/share/applications/eclipse. desktop

Add the following content:

[Desktop Entry]
Version = 1.0
Encoding = UTF-8
Name = Eclipse3.7.1
Exec = eclipse
TryExec = eclipse
Comment = Eclipse3.7.1, EclipseSDK
Exec =/usr/local/eclipse
Icon =/usr/local/eclipse/icon. xpm
Terminal = false
Type = Application
Categories = Application; Development;

Now you can see the Eclipse icon in/usr/share/applications /.

4. Create a starter
Sudo gedit/usr/bin/eclipse
Add the following content:

#! /Bin/sh
Export illa_five_home = "/usr/lib/mozilla /"
Export ECLIPSE_HOME = "/usr/local/eclipse"
$ ECLIPSE_HOME/eclipse $ *

Add executable permissions
Sudo chmod + x/usr/bin/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.