Navigate / search

How to install NetBeans 6.5 on Ubuntu Linux desktop edition

NetBeans IDE version 6.5 has added PHP into its arsenal of supported languages. NetBeans, like Eclipse, started out as an integrated development environment for creating Java applications. The NetBeans IDE now has support for creating software using different languages like C/C++, Ruby, Java, J2ME, JavaFX and recently Javascript and PHP. The addition of support for PHP is exciting because not only is PHP the most used scripting language on the Net, it also offers a low learning curve and very easy to use powerful language for creating web applications.

If you want to create PHP, Java, Javascript, Ruby, J2ME, C or C++ applications and you are using Ubuntu Linux you can use NetBeans as your integrated development environment (IDE). Version 6.5 even provides enhanced support for several web frameworks like Hibernate, Spring, JSF and JPA. Trying out or installing the latest version of NetBeans IDE on Ubuntu Linux desktop edition can be easily done by following these simple steps.


Before you can start using NetBeans, you’ll need to have a Java Development Kit installed on your Ubuntu Linux desktop system.

NetBeans Installation

First you’ll need to download a copy of NetBeans 6.5 if you still haven’t got a copy. The NetBeans IDE comes in several packages. Each package option has been created to help you develop in a give language that you require. For instance, you can just download a package that has been created mainly for PHP development or Java. You can also download the complete set which contains all of the supported languages which is about a 250+ megabyte download.

For this how to, I’ve downloaded the complete version for Linux which is also the package that you need to use on Ubuntu. After downloading the file (, just execute / run the shell script by double-clicking it from the Gnome Window explorer or from a shell terminal. Once the installation script gets started, you’ll see the following screen on your desktop.


You can customize your install by clicking on the “Customize” button. Just select the components that you want to be included in the installation process. For purposes of this how to, I’ll just leave it using the default selections.


A “License Agreement” screen will pop up next. You’ll need to accept the terms if you’ll want to use NetBeans. Click on the “I accept …” checkbox to enable the “Next” button and then click on the “Next” button.


The next screen allows you to select where to install NetBeans. You can just accept the default or select a different directory for installation. You also need to set the directory where your Java JVM is installed.


Once you’re done and have clicked on “Next”, installation of NetBeans will start.


You’ll get the “Setup Complete” dialog box if everything went like a breeze. There are a couple of options that can opt out. First is sending anonymous usage data and the other is registration. Both of them is not required to start using NetBeans.


Pretty simple. Starting up NetBeans will usually show the splash message box below which includes hint on what NetBeans is currently doing while loading up the whole IDE.


Congratulations. You’ve just installed NetBeans 6.5 on your Ubuntu Linux box. After finishing up, you’ll get the default screen below. Go get your feet wet and look around. If you need more information about NetBeans, you can visit the NetBeans web site.


NetBeans IDE 6.5 is a significant update to NetBeans IDE 6.1 and includes the following changes:

  • Improved Java ME support for Data Binding, SVG and Custom Component creation.
  • Debugger: Redesign of Step into feature.
  • PHP support with code completion, Xdebug and web service features.
  • New Support for Groovy and Grails.
  • GUI Builder: Support for Nimbus and simple class names.
  • JUnit: single test method support.
  • Improved JavaScript, AJAX and Ruby support.
  • Automatic Compile and Deploy on Save for Java and Java EE applications.
  • Improved database support: SQL history, SQL completion, and results viewing and editing improvements.

For information about the release and to download, you can visit this page.

Gerry Ilagan

Gerry Ilagan is into mobile apps and WordPress development at @speeqs. He loves to write about electronics, the Internet of Things, mobile phones, and #crazyideas.



does NetBeans IDE 6.5 support Python language?


@tan, support for Python is currently being done. If you installed NetBeans 6.5, you can install the beta version as a plugin from the “Tools | Plugins” menu.


Good day!

i executed these commands..
1.sudo apt-get install sun-java6-jdk sun-java6-plugin
2.sudo update-java-alternatives -s java-6-sun
3sudo ./netbeans-6.5-ml-linux……problem starts here i downloaded the netbeans and located ubuntu desktop when i execute the(3)it says command not found

Can u help figure out this problem?




@Angelito, check the permissions of the file netbeans-6.5… – it should have the execute premission.

you can change the permission by:

sudo chmod +x

Then try it again.


gerry thank u for ur useful help


thank you so much gerry. Even in netbeans website i couldn’t find this info. after combing through the website. One more info. for the linux beginners inorder to give the executable permission(+x) you need to log as super user.Type su and give the’re done.


I will give you netbeans ubuntu setup link to send my mail to download file.



Thanks… its a easy way to install.great….keep it up.

Sudhakar K

Great job for begginers like me.
It works good.
It install in home/../ directory.
I need to change to some other directory. Something like this /opt/../ .
My question is : which directory is the best directory to install netbeans? Please specify the url(file directory structure).
for every users in my system.

Leave a comment


email* (not published)


Blog Library