Android (3) in Ubuntu and eclipse Development Environment

Source: Internet
Author: User
Tags gtk

1. Go to http://www.eclipse.org/downloads/and download the selinuxfeature of eclipse. see



Note:

①.Select Operating SystemThe website will read the operating system you are currently using. By default, matching is provided. If you are using Windows, click the drop-down box in the upper right corner to switch to Linux

②.Select version: I chose the first one. The downloaded name is eclipse-jee-indigo-linux-gtk.tar.gz.

2. By default, the browser downloads the package to the "Download" folder and decompress the package:

Method 1: Use the command tar-zxvf eclipse-jee-indigo-linux-gtk.tar.gz

Method 2: If the pressure software is installed by default, right-click and select "decompress to current folder ".

After decompression, the folder name is "Eclipse". Now you can click the eclipse image in the eclipse file to use it. For more convenience, perform the following steps.

3. Move the eclipse folder.

Let's talk about why mobile. We know that eclipse is free of installation in windows, and it is also in Linux, but since it is a software, it is better to put it in the directory of general software installation, just like in windows, put it in the "Program Files" folder, and in Linux There is a similar folder, that is, the "Opt" folder, where most files are installed, we want to report that the eclipse folder is moved here.

However, in Linux, the "permission" requirement is extremely strict. Therefore, you must use the root user to log out and use the root user to log on. Perform the following operations. (For more information about setting the root user password, see the next article ).

Enter cd "Download" on the terminal"

MV Eclipse/OPT

Now, log out and re-enter your account.

4. Set file eclipse execution right

CD/opt/eclipse

Chown-r root: User Name eclipse
Note that the user name is case sensitive.


5. 1. Create a menu bar
Click "system"> "options"> "Main Menu" to go to the main menu page.

Click the "program" option on the left and click "Create Project" on the right to bring up the create initiator interface.

Click the Browse option after the command to find the eclipse file in the eclipse file under the OPT file,

Modify the starter icon: Click the strange icon and select the icon in the eclipse file. Click OK.

Click the check box before eclispe

Click "application" on the left and the check box before "programming" on the right. Click Close below.

5.2 create a desktop
"Application" --- "programming" ---- right-click "Eclipse" and add it to the desktop

5.3 create a panel shortcut

"Application" --- "programming" ---- right-click "Eclipse" and add it to the Panel


Now you can start your basic programming journey in Linux. Because the root account is used in the middle, let's talk about the root account in the next article.


Related Article

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.