Installing Netbeans 6.5 on Linux – Ubuntu

Note: Recently released Ubuntu 9.04 has NetBeans 6.5 in its repositories. Read how to install it in Update – Installing NetBeans 6.5 on Ubuntu 9.04.

Another note: This article is also available in Spanish: Como instalar NetBeans en Ubuntu

NetBeans 6.5 is just out. There is a Linux installer for it and I will show in few steps how it works:

To download installation, click here:

http://services.netbeans.org/bouncer/index.php?product=netbeans-6.5-java&os=linux

To ensure that download was successfull and that archive is not tampered with, you can calculate md5 checksum and compare the value with one from the NetBeans’ website:

md5sum netbeans-6.5-ml-java-linux.sh

To make downloaded archive executable open shell and in the directory where the file is type:

chmod +x netbeans-6.5-ml-java-linux.sh

and after that execute it:

./netbeans-6.5-ml-java-linux.sh

NetBeans requires Java to be installed. In case that installer is not able to find Java already installed, we can install Sun’s JDK version 6 by typing:

sudo apt-get install sun-java6-jdk

If Java dependency is satisfied, installer will be launched:

netbeans-installer

here I am installing two versions of Glassfish, Sun’s J2EE application server.

We need to accept licence:

netbeans-2-licence

In second step we need to specify directory where we wish to install NetBeans and which JDK it will use. I installed NetBeans to my home folder and not to Ubuntu default location. For JDK I have specified java-6-sun which is a link to currently installed Sun JDK 6, so it will not become invalid after upgrading JDK.

netb-3

In next step we specify installation folder for Glassfish v2 and which JDK it uses. We need to suply username and password for the admin user, too.

netb-4

Now the same for Glassfish v3:

netb-5

We can review installation directories before continuing:

netb-6

Now we need to wait for installation to copy all required files:

nb-61

When the installation is complete, we can decide to allow anonymous usage tracking and to run NetBeans and Glassfish registration.

netb-7

We have successfully installed NetBeans 6.5. If there was previous NetBeans installation we will be offered the opportunity to import existing settings and projects. In my case, project import from previosly installed NetBeans 6.1 was successfull.

netb-start-8

netb-start-9

Now you’re ready to start using latest version of NetBeans.

Installing Patch 1 for NetBeans 6.5

In order to apply first patch for NetBeans 6.5, read Install Patch 1 for NetBeans 6.5

Installing NetBeans using apt-get

If you’re interested in process of installing NetBeans from Ubuntu repositories, check my other post Installing NetBeans on Ubuntu – Official Way

Feedback

I would like to hear back from you – did you find tutorial useful? Is something missing? What do you use Netbeans for? Did upgrade from older NetBeans worked well?

16 responses to “Installing Netbeans 6.5 on Linux – Ubuntu

  1. Pingback: Disponible Netbeans 6.5 « Ubuntu Life

  2. y habra alguna forma de actualizar de la version 6.1 a la 6.5…

  3. hola lionhe@rt,

    lo que ocurre es que no haces actualizacion de NetBeans de la version 6.1 a la 6.5. Las dos versiones guardan su configuracion en distintas carpetas: HOME/.netbeans/[NUMERO DE VERSION].

    Cuando terminas instalacion, NetBeans va a ofrir posibilidad de importar configuracion de la version anterior.

    En mi caso, datos de proyectos, bases de datos y servidores eran importadas sin problemas.

    Este proceso no cambia configuracion de la version 6.1, asi que pedes usar ambas en mismo tiempo sin problemas.

    saludos,
    boris

  4. Gracias por el dato newsintegrator

    asumo entonces que al instalar la nueva version e importar mi carpeta de la version 6.1 podria desinstalar la version anterior sin mayores problemas aunque me da curiosidad que en la pestaña de ayuda haya un apartado para buscar actualizaciones… de nuevo, gracias😉

  5. Hola lionh@rt,

    como siempre, debes hacer un backup antes de proceder con la instalacion.

    boris

  6. Thanks! Worked great! The only thing is that

    chmod + x netbeans-6.5-ml-java-linux.sh

    didn’t work, but I ran:

    chmod +x netbeans-6.5-ml-java-linux.sh

    (+x rather than + x) and for some reason that did it. Otherwise, this is a very well put together tutorial.

    Thanks again!

  7. Hi Lyceum,

    thank you for correction. I have fixed the typo in both English and Spanish versions of article.

  8. thanks, this was exactly what i was looking for…

  9. thanks,,,,

  10. For Ukrainian developers, short overview of Netbeans 6.5 in Ukrainian – http://www.rozrobka.com/blog/java/9.html

  11. it helps me a lot. thanks for this..:D

  12. it helps me a lot. thanks for this..:D

  13. Thank you very much. This helped alot. I am expecting more features from you like spring,hibernate,ejb etc. Once again Thank you very much.

  14. Thank You very much
    it helps me alot

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s