Newsintegrator Blog

Installing Netbeans 6.5 on Linux – Ubuntu

November 20, 2008 · 11 Comments

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?

Categories: netbeans
Tagged: , , ,

11 responses so far ↓

Leave a Comment