View Full Version : [ubuntu] HOWTO install netbeans 6.0 in ubuntu 8.4

June 1st, 2008, 07:11 PM
plz i want to install netbeans in ubuntu 8.4 ( hardy )
i have a dvd from sun,
my pc is intel 32 bit,
i downloadet 2 files from the dvd ( jdk-6u5-linux-i586.bin ) and ( netbeans-6.0.1-ml-linux.sh ) i installed the the first one after changing it's mood to be executable
the problem when installing the second file ( netbeans-6.0.1-ml-linux.sh )
i chanaged it's mood too to be executable but he asks me about the jvm but i don't know where is it
this what appeared to me :

Configuring the installer...
Searching for JVM on the system...
Java SE Development Kit (JDK) was not found on this computer
JDK 6 or JDK 5 is required for installing the NetBeans IDE. Make sure that the JDK is properly installed and run installer again.
You can specify valid JDK location using --javahome installer argument.

To download the JDK, visit http://java.sun.com/javase/downloads

can any one help me plz ?

June 2nd, 2008, 10:22 AM
You can install netbeans from add/remove or by opening a terminal and typing

sudo apt-get install netbeans

June 4th, 2008, 12:31 PM
A little comment here; although the instructions above indicate that JDK should be installed prior to installing netbeans, I found that installing it after worked fine in my situation at least, without any need for installing netbeans (again) after installing JDK