Eclipse PDT Installation Steps

Source: Internet
Author: User
Tags gtk

1.
Install the eclipse Development Environment JDK/JRE

Eclipse runs on a Java Virtual Machine. Therefore, you must install the Java environment before you can perform development and testing. You can download JDK
Or JRE. JRE (Java Runtime Environment) is the runtime environment, JDK (Java Development
Is a development environment. The JDK development environment includes the JRE runtime environment. Therefore, if you only use eclipse to develop PHP programs, JDK is not required. You can use JRE.
JDK is required for Java development.

After JDK is installed in Ubuntu, you no longer need to install JRE. For example, if JRE is installed, then JDK will be installed again. Open the Ubuntu terminal and run the following command:
Sudo apt-Get install sun-java6-jre or sudo apt-Get install sun-java6-jdk

Or use the Ubuntu New Software Package Manager, search for JDK find sun-java6-jdk, and select refresh-tag for upgrade-application. Install JDK.

2. Install eclipse PDT

The downloaded eclipse PDT
Compressed package (All-in-One
Linux x86/GTK 2 32-bit
) Decompress the package to an appropriate directory. As long as the JDK/JRE environment is set up, it doesn't matter where the eclipse decompression folder is put. Run the following command to decompress the terminal:

Sudo tar-zxvf '/home/farlee/download/eclipse-php-galileo-SR2-linux-gtk.tar.gz'

Decompress the package to the/home/farlee directory. After extracting the package from eclipse, you can use the package without installation such as./configure # make install.

3. Add the eclipse application icon

Add the eclipse shortcut icon to the programming menu of the application in the upper left corner of the Ubuntu Desktop:
sudo gedit /usr/share/applications/eclipse.desktop

Add the following code to the file opened by gedit:

[Desktop entry] encoding = UTF-8Name = eclipsecomment = eclipse ideexec =/home/farlee/Eclipse/eclipse // change to the directory path for installing eclipse executable files by yourself. Icon =/home/farlee/ eclipse/icon. XPM // change the eclipse icon path to terminal = falsestartupnotify = TrueType = applicationcategories = application; development; // indicates the application program.

Save and exit. Right-click the icon to add eclipse to the desktop starter.

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.