Jun 08
In this post i will install Net Beans 6.7 RC on a fresh install of Ubuntu 9.04 is on virtual machine.
Install Java . I am installing “sun-java6-jdk” 
- Go to “System- >Administration->Synaptic Package Manager
- Search for java6 and select “sun-java6-jdk” . After marking the package a popup window will ask you mark other required packages. Click” Mark”
- Click “Apply”. A popup window will give no of packages to be downloaded and total size. Click “Apply”. Download will start
- After Download is complete, installation process will start. For Sun JDK Installation accept the DLJ License.After installation is complete click “close”
- Check that green filled sqaure is displayed next to package “sun-java6-jdk”
- Verify by going to Terminal Window and typing >
$ db2admin@ubuntu:~$ java -version java version "1.6.0_13" Java(TM) SE Runtime Environment (build 1.6.0_13-b03) Java HotSpot(TM) Client VM (build 11.3-b02, mixed mode, sharing) db2admin@ubuntu:~$
-
It should display "Java(TM) SE Runtime Environment (build 1.6.0_13-b03)"
Install NetBeans 6.7rc2 on ubuntu 9.04

- Start the virtual machine, login and open browser to download the netbeans 6.7rc from www.netbeans.org
- The file can be downloaded from http://download.netbeans.org/netbeans/6.7/rc2.
- I tried to install from the file using the command
-
db2admin@ubuntu:~/Desktop/Downloads$ sudo ./netbeans-6.7rc2-ml-linux.sh
- The Installer will not run. The downloaded file need to be executable. Right Click on file and open “Properties” . Select Tab”Permissions”. Check the “Allow executing file as program” . Click “close”
- Go to terminal and type the install command as shown above. The Installation process will start.
- Step 1 . Select Next
- Step 2. Accept the License Agreement. Click Next
- Step 3. It will show the install directory and Java Selected. Click Next
- Step 4. The Glassfish v2.0 location and JDK can be Selected. It has option to change the admin user and its password. Accept default and Click Next
- Step 5. The Glassfish v3.0 location can be selected.Click Next
- Step 6. Final Screen All Setting are displayed. Click on “Install”
- Step 7. Check if you want NetBeans to Collect data about usage. Click “Finish”
- NetBeans Icon Appears on the desktop. Double Click on Icon to Verify that Install was complete.
September 3rd, 2009 at 4:46 am
Great work!!!!
Thanks!!!!
September 16th, 2009 at 12:19 am
I tried but it shows – No such file or directory exists’
What to do?
September 22nd, 2009 at 1:35 pm
Please explain what do you mean by No such file or directory exists
October 29th, 2009 at 7:24 pm
Thanks Mate, this was driving me mad lol was trying stuff like
to no avail for ages so thanks again
chmod u+x ./netbeans-6.7.1-ml-javase-linux.sh
./netbeans-6.7.1-ml-javase-linux.sh –javahome /export/bin/jdk1.6.0_02
November 14th, 2009 at 3:48 pm
thnaks alot bro
i want to inset java docs into netbeans so that it can help me while i am making programs using netbeans
December 10th, 2009 at 1:47 pm
After an update of the NetBeans IDE on Ubuntu 9.10 caused the IDE with permanent failure on startup I tried to reinstall exactly as you mentioned in your post. However, after installation Java SE and other Plugins like C++ development – everything is disabled.
I already deleted old profile data in root and for my working user, but nothing helps. So – at least for 9.10 and Netbeans 6.7.1 something is missing in this how-to.
December 11th, 2009 at 12:31 pm
Infact yesterday, On Windows 7 all options are disabled (except BASE IDE). I have tried all versions of Net Beans on 6.7.1, 6.8. RC 1 and 6.8 RC 2. Looks like latest build combination has issues. I am doing more research. I will let you know, when I solve this. And update post for Ubuntu as well.
Thank You