Install Java JRE 1.6.0 (Update x) on Hardy as the Default Java Runtime Live Olympics Coverage via Sopcast, on Ubuntu Hardy/Debian 32 & 64 Bit
Aug 04
1 Star2 Stars3 Stars4 Stars5 Stars (3 votes, average: 5 out of 5)
Loading ... Loading ...

Eclipse 3.4 GanymedeI’ve been checking out the recently released Eclipse 3.4 (Ganymede), and so far so good. I’ve managed to get PDT (for PHP Development) and SQL Explorer installed and running successfully, so I’ll be doing some testing to see how it compares to Europa, which I have been using for some time. Thankfully, installing plugins is much easier with Ganymede - this is how I got it set up an configured.

IMPORTANT NOTE: This installation configuration currently relies on Integration builds of both PDT and DLTK, since the current Stable builds of each are not currently supported under Eclipse 3.4. I will update this tutorial as support becomes available, but if you are not comfortable installing Integration builds, please see my previous tutorial on setting up a PHP IDE in Eclipse Europa: “64 Bit Eclipse: Linux Installation, including PDT, WTP (WST), ATF, and MySQL (SQL Explorer Plugin)“.

Install Eclipse

Installing Eclipse is a pretty easy task - just head over to http://www.eclipse.org/downloads and download the latest version of “Eclipse Classic” (direct link to 64 bit version). I downloaded the file to my desktop, and once finished, opened up a Terminal window, extracted the archive, and installed Eclipse into the /opt directory:

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

I installed into /opt/ganymede since I already have Europa installed in /opt/eclipse.

That’s all there is to installing Eclipse. It can be run (for now) via the Terminal:

cd /opt/ganymede
./eclipse

Installing PDT

As mentioned above, the latest Stable build of PDT is not yet supported in Eclipse 3.4, and since only PDT 1.0.x is available via the Update Site, it’s necessary to download the 2.0.x Integration Build from the PDT Website (see this thread at pdt-dev for more information). The same goes for DLTK (Dynamic Languages Toolkit) upon which PDT depends - only the Integration Build may be installed with Ganymede.

Firstly I downloaded DLTK, from http://download.eclipse.org/technology/dltk/downloads - click on the Integration Build download link, and grab the Core Frameworks archive (direct link to current version - Integration Builds are likely to change frequently, so best to visit the main doanload page). Next, grab the PDT archive from http://download.eclipse.org/tools/pdt/downloads/ (click on the 2.0.0 Integration Build link, then grab the PDT Runtime archive - direct link). Don’t worry about the requirements and handy extras.

Once downloaded, again to my Desktop, I created a couple of temporary directories, and unziped both archives into their respective new homes:

mkdir pdt dltk
mv org.eclipse.php_feature-I20080722.zip pdt
cd pdt
unzip org.eclipse.php_feature-I20080722.zip pdt
cd ~/Desktop
mv dltk-core-I-I200807291021-200807291021-incubation.zip dltk
cd dltk
unzip dltk-core-I-I200807291021-200807291021-incubation.zip

Now the Eclipse Update manager can be pointed to these “local sites”. I fired up Eclipse once again, and navigated to the Update Manager: Help -> Software Updates. Once open, I clicked on the Available Software tab, and added the new sites - click on Add Site, click Local, and navigate to ~/Desktop/pdt/eclipse. Click OK, and repeat for ~/Desktop/dltk/eclipse. Now there should be two more sites (”/home/username/Desktop/pdt/eclipse” and “/home/username/Desktop/dltk/eclipse”) in addition to “Eclipse Project Update Site” and “Ganymede” (or “http://download.eclipse.org/releases/ganymede”). Expand each of the two new sites, and select the lowest leaf in each tree - “PDT Feature” and “Dynamic Languages Toolkit”.

Eclipse Ganymede Update Manager

PDT is also dependent upon the Graphical Editing Framework (GEF), so expand the Ganymede tree, then “Graphical Editors and Frameworks” and select the “Graphical Editing Framework GEF” option.

Don’t click “Install” quite yet - there are a few other additional things to select for a full Web Application Development IDE.

Web Application stuff

Expand the main Ganymede tree, and “Web and Java EE Dvelopment”. I personally selected:

  • Eclipse XML Editors and Tools
  • Javascript Developer Tools
  • Web Developer Tools
  • Web Page Editor

You may want more, or less. Almost there…

Database Integration

Expand Database Development, and select Data Tools Platform Enablement and Data Tools Platform SQL Development. These are required for setting up a connection to MySQL later.

OK, click Install! Go and make a brew, or coffee - this may take some time.

Once everything has been downloaded and installed, restart Eclipse.

SQL Explorer Plugin

I find SQL Explorer is a great little plugin to use as a DB GUI. To install it, I downloaded the latest version to my Desktop, and extracted the files.

cd ~/Desktop
mkdir sqlexplorer
mv sqlexplorer_plugin-3.5.0.RC5.zip sqlexplorer
cd sqlexplorer
unzip sqlexplorer_plugin-3.5.0.RC5.zip

As with the PDT and DLTK plugins, to install is just a simple case of adding a new Local site to the Eclipse Update Manager, and selecting the plugin to install. So, open up the Update Manager - Help -> Software Updates, and select the Available Software tab. Add new site, click Local, navigate to ~/Desktop/sqlexplorer, click OK, etc. Once the site is added, expand the new SQL Explorer, select the lowest level leaf, and click install.

Once installed, restart Eclipse. Some configuration is still required to get SQL Explorer linked up to a MySQL Database, which I have covered in a previous tutorial: Eclipse PDT and MySQL - SQL Explorer Plugin. It’s pretty simple, and just involves downloading the Java Connector for MySQL, and pointing Eclipse to it.

ATF (AJAX Toolkit)

Unfortunately, ATF is not yet supported in Ganymede - I’m keeping track of it, however, and will update this tutorial as soon as support is available. In the mean time, check out the current status at atf-dev.

Debugging PHP with Xdebug

The information in my previous tutorial, Debugging PHP Applications with Xdebug and Eclipse PDT, can still be applied to Ganymede.

Hope that helps.

References

  1. http://wiki.eclipse.org/PDT/Installation#Eclipse_3.4_.2F_Ganymede_.2F_PDT_1
  2. http://www.mail-archive.com/pdt-dev@eclipse.org
  3. http://www.mail-archive.com/atf-dev@eclipse.org



Dell LATITUDE D820 Dual Core Duo Laptop Notebook Win XP
US $660.00 (38 Bids)
End Date: Thursday Dec-04-2008 12:50:00 PST
Bid now | Add to watch list
HP 17" Pavilion dv9819wm Laptop PC Computer notebook
US $600.00 (29 Bids)
End Date: Thursday Dec-04-2008 12:58:07 PST
Bid now | Add to watch list
BRAND NEW HP Pavilion notebook laptop G50-109NR PC AMD
US $436.00 (29 Bids)
End Date: Thursday Dec-04-2008 14:46:24 PST
Bid now | Add to watch list
HP 17" Pavilion dv9843cl Laptop PC Computer notebook
US $871.00 (32 Bids)
End Date: Thursday Dec-04-2008 16:01:14 PST
Bid now | Add to watch list
NEW SONY VGN-AR870 2.4GHz Laptop Notebook PC 3GB AW170Y
US $860.00 (40 Bids)
End Date: Thursday Dec-04-2008 17:03:45 PST
Bid now | Add to watch list
Sony VAIO VGN-SZ440 13" Laptop Notebook
US $699.00 (1 Bid)
End Date: Thursday Dec-04-2008 19:06:34 PST
Bid now | Add to watch list
Fujitsu Lifebook U810 Tablet Computer Laptop Notebook
US $590.00 (20 Bids)
End Date: Thursday Dec-04-2008 19:08:00 PST
Bid now | Add to watch list
* NEW COMPAQ CQ50-139WM LAPTOP NOTEBOOK NEW IN BOX *
US $406.99 (8 Bids)
End Date: Thursday Dec-04-2008 19:30:00 PST
Bid now | Add to watch list


  • Digg
  • del.icio.us
  • Facebook
  • Google
  • Reddit
  • StumbleUpon
  • Technorati
  • Slashdot
  • TwitThis
  • Yahoo! Buzz

Related posts:

  1. 64 Bit Eclipse: Linux Installation, including PDT, WTP (WST), ATF, and MySQL (SQL Explorer Plugin)
  2. Eclipse PDT and MySQL - SQL Explorer Plugin
  3. Eclipse PDT IDE for PHP MySQL 32 Bit install on 64 Bit Ubuntu
  4. Traversing, and opening include files in Eclipse IDE
  5. Debugging PHP Applications with Xdebug and Eclipse PDT

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

written by Hodge \\ tags: , , , ,

8 Responses to “64 Bit Eclipse 3.4 (Ganymede) IDE with PDT and SQL Explorer - Full PHP/MySQL Web Application IDE”

  1. 64 Bit Eclipse: Linux Installation, including PDT, WTP (WST), ATF, and MySQL (SQL Explorer Plugin) | 64 Bit Jungle Says:

    [...] NOTE, 04/08/08: This tutorial covers Eclipse Europa. If you would like to install the latest version of Eclipse 3.4 Ganymede, with PDT and SQL Explorer, take a look at my latest Tutorial: “64 Bit Eclipse 3.4 (Ganymede) IDE with PDT and SQL Explorer - Full PHP/MySQL Web Application IDE“. [...]

  2. Arthur Says:

    Great waklthrough, thanks! I managed to get it all installed on my system following your post. When I first ran eclipse after installing all the plugins, eclipse crashed saying there wasn’t enough memory. I doubled the amount of memory allocated to eclipse at startup with additional startup command arguments - to start eclipse with more memory, my command looks like this:

    eclipse -vmargs -Xmx512M

    Eclipse defaults to start with 256Mb of memory, you can adjust the number behind ‘-Xmx’ as needed.

    Thanks again for another great guide!

  3. bfw Says:

    i experiance an annoying bug which freezes my eclipse for a long time when typing “$”. tried to turn auto completion off everywhere i could, but still no results :) waiting for bug to be eliminated - till then pdt is unusable

  4. Benny Says:

    Hi, Thanks for writing such information about 64 bit eclipse (PDT).

    Im using ubuntu 64 bit - 8.04 - hardy, i follow you instruction for running ganymede 64 bit (and add PDT stuff into it -im using jre1.6.0_07). It keep freezing ganymede all the time, stating when i want to edit those php codes java just eat up all my CPU from 60% to 100% and ganymede just freezing for long time…. it keep hapen when i want to edit codes or open php files.
    (well im glad that ganymede recognize those cakePHP template file for. cpt).

    Anyway i turn to run 32 bit (PDT and JRE) they work just fine.. and my CPU was okay now…. Thank you so much on this information since i was switching my PHP development from windows to linux.

  5. sounds Says:

    Great guide, worked out well. Only problem is that I too experience the freezing whenever I type ‘$’ in a php block. After waiting 30 seconds or so it unfreezes but that makes things fairly unusable.

  6. Hodge Says:

    Hi all,

    PDT in Ganymede does seem to be rather buggy at the moment. The final release of PDT 2.0 is December, so personally, I’m holding off using it until then. As soon as it’s released, I’ll update the tutorial.

    Thanks for your comments :)

  7. Gerardo Says:

    Great tutorial! Installing now. Hope everything goes fine.

    Many thanks.

  8. gshegosh Says:

    What Arthur said about doing eclipse -vmargs -Xmx512M also fixed problems with ganymede slowness and unresponsiveness for me (I set up 768M, got plenty of RAM - that’s why I’m on 64 bits anyway).

Leave a Reply

Webloogle Blog Directory