Ubuntu 12.04 Assembly eclipse-php

Source: Internet
Author: User
Tags download zend touch command
Ubuntu 12.04 Installation eclipse-php

1, install OPENJDK, Ubuntu 12.04 default JRE is Openjdk-6-jre

??? sudo apt-get install Default-jre

2, download Zend Eclipse PDT, download link: http://www.zend.com/en/community/pdt/downloads

3) put it into the/opt folder and modify the owner for root and access rights to writable,-R for all subkeys.

MV Eclipse-php/opt/sudo chown-r Root:root/opt/eclipse-phpsudo chmod-r +r/opt/eclipse-php

4) Create a new eclipse-php file using the Touch command and edit it using the Nano editor

sudo touch/usr/bin/eclipse-phpsudo chmod 755/usr/bin/eclipse-phpsudo nano/usr/bin/eclipse-php

Copy the following content to the eclipse-php file

#!/bin/sh#export mozilla_five_home= "/usr/lib/mozilla/" Export eclipse_home= "/opt/eclipse-php" $ECLIPSE _home/ eclipse-php $*

Save File Shortcut key (^o = Ctrl+o), and exit shortcut nano (^x = ctrl+x)

5) Create Gnome menu items

sudo nano/usr/share/applications/eclipse-php.desktop

Copy the following to the Eclipse-php.desktop file, icon if it does not exist can go to eclipse to find the icon copied to the specified address

[Desktop Entry] Encoding=utf-8name=eclipsecomment=eclipse ideexec=eclipse-phpicon=/opt/eclipse-php/icon.xpmterminal=falsetype= Applicationcategories=gnome; Application;development; Startupnotify=true

Save and Exit Nano


6) First Load eclipse-php

/opt/eclipse-php/eclipse-php-clean &

7) If the following prompt appears, click OK to ignore:

?

8) The following problem occurs when no is ignored.

?

?

  • 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.