Installing PHPEclipse on Ubuntu Feisty Fawn

Posted on 26 May 2007 (01:44 AM)

I recently installed Ubuntu's latest version, Feisty Fawn.

I'm not really comfortable yet, since I don't have any Linux experience whatsoever, and I didn't have time to research and play around extensively the last couple of days.

One of the first things I did after I installed the operation system, was downloading and installing PHPEclipse, my favourite code editor on both Mac and Windows.

I'm not sure why, and it may just be my inexperience with the system, but I ran into some errors. Fortunately, after lots of Google-searching, I managed to install it correctly.

It isn't even that hard actually, and I'm a little surprised I had problems in the beginning. I want to share the method I used for installing Eclipse and PHPEclipse, for there might be another lost soul like me somewhere out there. Also, the downside of open-source software (especially *nix based software) is that manuals, documentations and the like are always a bit vague to me.

To compete with that, here's a clear outline of the installation process. Follow the steps and you're good to go. I promise.

  1. From your desktop, go to Applications -> Accessories -> Terminal
  2. Inside the terminal, type the following: sudo apt-get install eclipse
  3. Eclipse 3.2.2 will now be installed. You will be asked for your password.
  4. When the procedure is done, Eclipse will reside inside Applications -> Programming. Click on it to start the program.
  5. Then, inside Eclipse, go to Help -> Software Updates -> Find And Install...
  6. Check "Search for new features to install", and click on "New Remote Site".
  7. Use "PHPEclipse Update Site" as a name and, more importantly, use "http://PHPeclipse.sourceforge.net/update/releases".
  8. A new remote site is added. Click 'next' and 'finished' until you enter a screen that provides a button labeled "Install All". Click it.
  9. PHPEclipse is now installed. After restarting Eclipse, open the PHP view and create a new file. A dialog box tells you an error has occurred and you have to take a look inside the Log.
  10. Close Eclipse, surf to http://www.plog4u.org/index.PHP/Using_PHPEclipse_:_Installation_:_Installing_PHPEclipse#Ubuntu_Feisty_7.04_Fix and follow the instructions listed there.
  11. Restart Eclipse and all is well!

Hopefully this information will help someone who, just like me, has basically no clue what to do in Linux ;)

Back to top

Filed under Software and Hardware

Comments:

  1. 13 July 2007 (04:03 AM) by Aaron Fay

    Thanks for the great tip, I just installed Fiesty Fawn on a separate HD (in effort to transition away from MS stuff), and I had been using Eclipse quite a bit for many different projects, in different languages. I had (in XP) installed the all-in-one Eclipse WPT (coz the update site broke everything) and actually experienced the same in Ubuntu: Eclipse and WPT just doesn't want to work. But thanks to your post, I can resume my adventure in Ubuntu without the despair of returning to Windows to get some work done :P

    Cheers,

    Aaron

  2. 23 July 2007 (07:09 AM) by Mailson

    Thanks man!

    I almost cried because I couldn't use PHPeclipse heheheh

  3. 27 July 2007 (10:21 PM) by Mrio

    Wuhaha, thanx for the great info. Needed a PHP ide badly.

    O and just switched to ubuntu. I had to choose between Vista or Ubuntu (with Beryl).

  4. 03 August 2007 (01:58 PM) by Aresazi

    A slightly less hackish way of the fix at #10 is to:

    sudo apt-get install sun-java6-jre

    sudo update-java-alternatives -s java-6-sun

    This fixes the default Java runtime for everything in Feisty.

  5. 03 August 2007 (06:40 PM) by Jim

    Thanks alot man:)

  6. 05 August 2007 (10:56 PM) by Justin H

    Thanks for the quick guide. Much appreciated.

  7. 29 August 2007 (02:48 PM) by Albin

    There is also a project called easyeclipse where you can download eclipse with PHPeclipse and some other plugins. http://easyecli...utions/PHP.HTML

    this comment has been quoted by Harmen Janssen

  8. 29 August 2007 (03:16 PM) by Harmen Janssen

    Albin wrote:

    There is also a project called easyeclipse where you can download eclipse with phpeclipse and some other plugins. http://easyeclipse.org/site/distributions/php.html

    Thanks Albin!

    That sounds like an easy solution, I'll certainly check it out.

Sorry, due to spam, comments are temporarily out of order.

Back to top

Preferences

These settings will be saved for your convenience.