Ubuntu12.04 install eclipse-php1, install openjdk, Ubuntu12.04 default jre for openjdk-6-jre ??? Sudoapt-getinstalldefault-jre2, download ZendEclipsePDT Ubuntu 12.04 install eclipse-php
1, install openjdk, Ubuntu 12.04 default jre for 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 in the/opt folder, and change the owner to root and the access permission to writable, and-R to all the sub-items.
mv eclipse-php /opt/sudo chown -R root:root /opt/eclipse-phpsudo chmod -R +r /opt/eclipse-php
4) use the touch command to create an eclipse-php file and use the nano editor to edit it.
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 the file shortcut key (^ O = Ctrl + o) and exit the shortcut key nano (^ X = Ctrl + x)
5) create a gnome menu item
sudo nano /usr/share/applications/eclipse-php.desktop
Copy the following content to the eclipse-php.desktop file, Icon that can be found in eclipse if it does not exist copy 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) load eclipse-php for the first time
/opt/eclipse-php/eclipse-php -clean &
7) if the following prompt appears, click OK to ignore :? 8) the following problem occurs: No ignore .??