Full 64 Bit (or 32 Bit) Web Development and PHP/MySQL IDE with Eclipse 3.4 Ganymede and PDT 2

Posted by on Jan 16, 2009 in Eclipse, Featured, Linux, Ubuntu, Web Development6 commentsPrint This Post

Eclipse 3.4 GanymedeI’m probably a little late with this article, since PDT2 has been out for a few weeks now! PDT 2 is an improvement  on v1, and of course, Ganymede is also an improvement on Europa -thankfully, the installation process has also improved and is much easier than my previous post on the subject. There is no longer any need to download Eclipse Classic, and install a lot of prerequisites, since most of the prerequisites, and more are now included in Eclipse JEE (Eclipse IDE for Java EE Developers) – WST, RCP/Platform, XML tools, CVS support, Mylin (links to Bugzilla etc.), and Data Tools for MySQL (and other DB) connectivity, and more. Pretty much the only thing missing, is PDT itself, so here’s how I got it all set up.

Getting JRE set up and Ready (Optional)

If you’d like to set up 64 Bit (or 32 Bit) JRE to run Eclipse, follow these instructions.

Installing the Base: Eclipse 3.4 (Ganymede) JEE

First, I downloaded the 64 Bit version of Eclipse IDE for Java EE Developers to my desktop (32 Bit version here). Once downloaded, I extracted the archive, then moved the files to /opt:

cd ~/Desktop
tar -zxvf eclipse-jee-ganymede-SR1-linux-gtk-x86_64.tar.gz
sudo mv eclipse /opt

For 32 Bit:

cd ~/Desktop
tar -zxvf eclipse-jee-ganymede-SR1-linux-gtk.tar.gz
sudo mv eclipse /opt

Installing PDT 2

Simple so far. Once moved (installed), I ran Eclipse for the first time from the command line:

cd /opt/eclipse
./eclipse

and selected a workspace within my home directory once prompted. From here, installing PDT 2 is an easy task – adding two sites to the Update Manager (far easier in Ganymede than Europa), and letting Eclipse to the rest. Once Eclipse had started, I went to Help -> Software Updates. The Software Updates and Add-ons window appeared, and I navigated to the Available Software tab. From there, I clicked the “Manage Sites” button, followed by “Add” once the Site Manager appeared. The only additional prerequisite to install for PDT is the Dynamic Languages Toolkit, or DLTK. So, I added:

http://download.eclipse.org/technology/dltk/updates-dev/1.0/

in the Dialog, and clicked OK. I then needed to add the PDT update site, so clicked add, and pasted:

http://download.eclipse.org/tools/pdt/updates/2.0/interim/

Click OK to close the Available Sites Manager. The rest is just as easy – two new sites should appear in the Available Software sites list. So, I expanded the DLTK site (the small triangle to the left of the site name), then the Dynamic Languages Toolkit option, and checked “Dynamic Languages Toolkit – Core Frameworks (Incubation)”, from the top of the list. Finally, I repeated the process with the PDT Update site – expanded PDT Update Site -> PDT SDK 2.0.0 and checked “PDT Runtime Feature” from the list. That’s it. Click Install and follow the prompts.

Once installed, Eclipse recommends restarting the application. Accept, restart, and enjoy a shiny new PHP IDE, with PDT 2.

Setting Up the Environment

Once Eclipse Ganymede has reloaded, click on the Workspace icon to open the IDE workspace for the first time. The default Perspective is JEE. To change this, go to Window -> Open Perspective -> Other, then scroll down and select PHP. Other Views, relating to other plugins can be inserted into this perspective, and the perspective saved for future use. Personally, I like to add the SQL Development views, and MyLin, for live access to Bugzilla (Window -> Sow View -> Other).

A new PHP Project can be started by right clicking in Project Explorer (left window pane), and selecting New PHP Project (“Other” may need selecting on the first run, followed by navigating to and selecting PHP Project from the list).

That’s it. Far easier than previous versions, and much less effort required in the process! We like that.


Something not quite right? Inaccuracies or invalid code? Didn’t work for you? Don’t like me using Ss instead of Zs? Add a comment below! All comments are welcome. Except spam, because spam is a bit crap.



ASUS Lamborghini VX6-PU17-BK 12.1-Inch Eee PC Netbook (Black)


ASUS Lamborghini VX6-PU17-BK 12.1-Inch Eee PC Netbook (Black)


$685.70


Asus Lamborghini VX6-PU17-BK 12.1″ LED Netbook – Atom D525 1.80 GHz – Black VX6-PU17-BK 41…

T101MT-BU17-BK 10.1 Netbook


T101MT-BU17-BK 10.1 Netbook


$599.99


Asus Eee PC T101MT-BU17-BK 10.1″ LED Net-tablet PC – Atom N450 1.66 GHz – Black T101MT-BU17-BK 202…

CellularFactory: Laptop Computer Security Cable Lock (Silver) for Asus laptop


CellularFactory: Laptop Computer Security Cable Lock (Silver) for Asus laptop


$7.99


Laptop Computer Security Cable Lock (Silver) for Asus laptop . Laptop Computer Security Cable Lock for you to use to lock your laptop computer in an easy way.Features:Lock down your notebooks laptop computer with this unique, individual keys and locks for each computer. Galvanized steel cable for strong protectionEffective protection, anti-thief design keeps the sneakers away The T-bar mechanism b…

Samsung USB 2.0 External Optical Drive SE-S084D/TSBS Super WriteMaster, Slim External DVD Writer (Gloss Black)


Samsung USB 2.0 External Optical Drive SE-S084D/TSBS Super WriteMaster, Slim External DVD Writer (Gloss Black)


$33.99


Samsung SE-S084D DVD-Writer – Black – Retail – External SE-S084D/TSBS CD/DVD Combo Drives – External…

Asus 24xDVD±RW Serial ATA Internal OEM Drive DRW-24B1ST (Black)


Asus 24xDVD±RW Serial ATA Internal OEM Drive DRW-24B1ST (Black)


$20.25


The ASUS 90-D40FJV-UBN10- is capable of reading and writing data on DVDR/RW; DVDRAM formats. It is a power saving drive and allows you to permanently delete the data on rewritable discs. This provides you with flexibility and efficiency in terms of multim…

No related posts.

Related posts brought to you by Yet Another Related Posts Plugin.

Tags: , , , , ,

6 comments

» Comments RSS Feed
  1. Thanks so much!
    I was struggling a while with different attempts to get this running, with your post all works flawlessly!
    Thanks again! :)

  2. [...] much easier it is to setup I decided to upgrade. I turned again to 64bitjungle and followed this tutorial. The process was much quicker, they have really improved the install for 64bit [...]

  3. Thanks so much, I was having a hard time getting PDT installed with the eclipse in ubuntu’s repo and find a 64-bit version of eclipse to download.

  4. [...] Eclipse for my development environment on Linux. I got the 64bit version working with the help of The 64 Bit Jungle. This may be my first goto site for 64 bit problems. I also decided to go with the Xdebug debugger. [...]

  5. [...] | No Comments I installed Eclipse IDE development for my Linux development with the help of this blog. I went with the Xdebug debugger over the Zend debugger just to compare. It seems to work ok but I [...]

  6. Doesn’t work for me…

    Displays an error:

    Cannot complete the request. See the details.
    PHP Development Tools (PDT) SDK Feature is already installed, so an update will be performed instead.
    Cannot find a solution satisfying the following requirements org.eclipse.swt [3.4.1.v3449c].

    As I Know (and it is noted in the docs), swt is a main widget framework for Eclipse and is included into any Eclipse bundle by default.

    What does this error message mean?

    PS: I downloaded the latest Eclipse JEE bundle.

Leave a comment