Netbeans on Ubuntu

Do you feel lost in the java forrest when you want to install these marvelous IDE’s out there? Me too. Try apache’s FOP on Debian if you want a real challenge.

Anyhow .. This article is about Running Netbeans on Ubuntu, and it’s not an intallation manual. It’s just shows a working combination of components.

I’m using Ubuntu 7.04 (upgraded from an installed 6.01) and wanted to check out NetBeans. I Googled around, and checked the NetBean requirements. It needs a JDK … oh boy .. here we go …

I’m a fan of keeping thing as default as possible to avoids pitfalls in the future (KISS … Keep It Simple Stupid!). So I first tried the Ubuntu package manager. No decent JDK in there so we go to sun. Well I actually found it in the Netbeans Quickstart Guide.

To get to the point, these are the ones that work together:

  • Ubuntu 7.04 (dist-upgraded from 6.01)
  • Java Development kit 6u1 (Netbeans Quickstart says 5 but the 6u1 does the job as well)
  • Netbeans IDE 5.5.1

No hassle … Install the JDK (e.g. in “/usr/local/jdk1.6.0_01/”) and without setting environment variables Netbeans figures out by itself where the JDK HOMEDIR is. Cudos on that!!!. Then you can install NetBeans in any given directory.

Up and running! … Was that quick or what?!?

- – - Time Warp – - -

You didn’t know this but I wanted to try NetBeans to develop Rails websites. As it turns out NetBeans 5.5.1 has no support for Rails yet. That didn’t stop me from installing NetBeans IDE 6.0 Preview M9 Full version (which has the rails support). You only have to add a “–javahome” parameter to the installer like so:

./netbeans-6.0m9-full-linux.sh --javahome /usr/local/jdk1.6.0_01/

And guess what? .. that also works.

Happy Coding!

Dit bericht is geplaatst in All ENGLISH articles, Technical met de tags , , . Bookmark de permalink.

Geef een reactie

Je e-mailadres wordt niet gepubliceerd. Verplichte velden zijn gemarkeerd met *

*

* Copy this password:

* Type or paste password here:

7,502 Spam Comments Blocked so far by Spam Free Wordpress

De volgende HTML tags en attributen zijn toegestaan: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>