Install Eclipse and PHP under Ubuntu 8.04

Source: Internet
Author: User
Keywords Install Desktop dialog box then button
Tags aliyun application applications button click create desktop dialog

&http://www.aliyun.com/zixun/aggregation/37954.html ">NBSP; 1, the official download PDT All version: http://downloads.zend.com/pdt/all-in-one/

2, extract to the specified directory: USR

You can extract the current directory first and then

MV Eclipse/usr/local

(1) If you want to change the eclipse directory to root, you can execute the following command

sudo chown-r root:root/usr/local

Create a startup script eclipse in the/usr/bin directory

(2) Use the following command to create:

sudo gedit/usr/bin/eclipse

Then add the following content to the file:

#!/bin/sh

Export Mozilla_five_home= "/usr/lib/mozilla/"

Export Eclipse_home= "/usr/local/eclipse"

$ECLIPSE _home/eclipse $*

(3) To modify the script's permissions to make it executable, execute the following command:

sudo chmod +x/usr/bin/eclipse

3. Add Eclipse Launch icon to desktop or Gnome menu

(1) Add icons to the desktop or launch panel:

Create a new initiator on the desktop (right-click Desktop-> Create initiator) or panel (right-click panel-> Add to panel-> custom Application Launcher) and add the following data:

Name: Eclipse Platform

Commands: Eclipse

Icon:/usr/local/eclipse/icon.xpm

(2) Add an icon to the Applications (application) menu

Create a new initiator named Eclipse.desktop in the/usr/share/applications directory with a text editor, such as the following command:

sudo vi/usr/share/applications/eclipse.desktop

Or

sudo gedit/usr/share/applications/eclipse.desktop

Then add the following content to the file:

[Desktop Entry]

Encoding=utf-8

Name=eclipse Platform

Comment=eclipse IDE

Exec=eclipse

icon=/usr/local/eclipse/icon.xpm

Terminal=false

Startupnotify=true

Type=application

Categories=application;development;

Save the file. Complete the installation process. You can double-click the icon for your desktop eclipse to run eclipse.

4. Chinese Eclipse

Open Eclipse-help-software Updates ...

In the Open dialog box, select the second item above (Available Software)

Click the Add Site button, pop-up URL dialog box, in the dialog box input: Http://download.eclipse.org/technology/babel/update-site/ganymede, click OK (OK) button

Then you can see the address we added in the Update dialog box, click on the front triangle, expand the language update option

Click on the Language packs option in the front of the Triangle expansion language and tick the eclipse Language Pack for Simplified Chinese option

Click the Install button on the right side of the dialog box

OK starts downloading and installs the Chinese language pack, after the installation completes, clicks the OK button, eclipse will automatically turn off and start, this time already is the Chinese version.

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.