Downloading and Installing NetBeans IDE

These instructions describe how to download and install NetBeans, a commonly used IDE for Java programming. Using an IDE means that you have all of the tools you need in one place (your "development environment") instead of having to organize things manually. Use the instructions in Step 2 to write a simple Java program called "Hello.java" and then compile and run it.

1. How To Install and Get Started with Java Programming (on Windows, Mac OS and Ubuntu)

1.1. How to Install NetBeans 8.2

How to Install NetBeans on Windows

Step 0: Install JDK

To use NetBeans for Java programming, you need to first install Java Development Kit (JDK). See "JDK - How to Install ".

Step 1: Download

Download "NetBeans IDE" installer from http://netbeans.org/downloads/index.html . There are many "bundles" available. For beginners, choose the 1st entry "Java SE" (e.g., "netbeans-8.2-javase-windows.exe " 95MB).

Step 2: Run the Installer

Run the downloaded installer.


How to Install NetBeans  on Mac OS X

To use NetBeans for Java programming, you need to first install JDK. Read "How to install JDK on Mac ".

To install NetBeans:

  1. Download NetBeans from http://netbeans.org/downloads/ . Set "Platform" to "Mac OS X". There are many "bundles" available. For beginners, choose "Java SE" (e.g., "netbeans-8.2-javase-macosx.dmg " 116MB).
  2. Double-click the download Disk Image (DMG) file.
  3. Double-click the "NetBeans 8.x.mpkg", and follow the instructions to install NetBeans. NetBeans will be installed under "/Applications/NetBeans ".
  4. Eject the Disk Image (".dmg").

You can launch NetBeans from the "Applications".

Notes: To uninstall NetBeans, drag the "/Applications/NetBeans" folder to trash.


How to Install NetBeans  on Ubuntu Linux

To use NetBeans for Java programming, you need to first install JDK. Read "How to install JDK on Ubuntu".

To install NetBeans:

  1. Download NetBeans from http://netbeans.org/downloads/. Choose platform "Linux (x86/x64)" ⇒ "Java SE". You shall receive a sh file (e.g., " netbeans-7.x-ml-javase-linux.sh") in "~/Downloads".
  2. Set the downloaded sh file to executable and run the sh file. Open a Terminal:
    $ cd ~/Downloads
    $ chmod a+x netbeans-7.x-ml-javase-linux.sh   // Set to executable for all (a+x)
    $ ./netbeans-7.x-ml-javase-linux.sh           // Run
    Follow the instructions to install NetBeans.

To start NetBeans, run the script "netbeans" in the NetBeans' bin directory:

$ cd netbeans-bin-directory
$ ./netbeans