NetBeansTM IDE 4.0 Installation Instructions

Installation details for:

For system requirements and other information, such as launching the IDE with different startup parameters, see the Release Notes.

Windows

On Microsoft Windows machines, the preferred method of installing NetBeans IDE is using the self-extracting installer.

Using the Windows Installer

To install NetBeans IDE:

  1. Once you have downloaded the installer file, double-click the installer's icon to launch the installation wizard.
  2. Specify the directory within which to install NetBeans IDE.
  3. Specify the Java™ 2 Software Development Kit to run the IDE on.

Launching NetBeans IDE

To start the IDE, do one of the following:

  • Double-click the NetBeans IDE icon on your desktop.
  • From the Start menu, select NetBeans IDE 4.0 > NetBeans IDE.

SolarisTM Operating System (Solaris OS)

On machines running Solaris™ operating system, the binary installer is the preferred method for installing NetBeans IDE.

Using the Solaris Installer

To install NetBeans IDE:

  1. Navigate to the directory that contains the installer.
  2. If necessary, change the installer file's permissions to make the binary executable by typing from a command prompt:
    $ chmod +x your_binary_executable

    Note: be sure to replace your_binary_executable with the actual filename of the binary that you downloaded.

  3. Launch the installer by typing from a command prompt:
    $ ./your_binary_executable

    Note: again, be sure to replace your_binary_executable with the actual filename of the binary that you downloaded.

The installer searches for installed JDKs and prompts you to specify which the installer should use. You can also specify which JDK the installer should use from the command line. For example:
$ ./your_binary_executable -is:javahome path_to_your_jdk

Launching NetBeans IDE

To start the IDE:

  1. Navigate to the bin subdirectory of your installation.
  2. Execute the launcher script by typing ./netbeans.

Linux

On Linux machines, the binary installer is the preferred method for installing NetBeans IDE.

Using the Linux Installer

To install NetBeans IDE:

  1. Navigate to the directory that contains the installer.
  2. If necessary, change the installer file's permissions to make the binary executable by typing from a command prompt:
    $ chmod +x your_binary_executable

    Note: be sure to replace your_binary_executable with the actual filename of the binary that you downloaded.

  3. Launch the installer by typing:
    $ ./your_binary_executable

    Note: again, be sure to replace your_binary_executable with the actual filename of the binary that you downloaded.

The installer searches for installed JDKs and prompts you to specify which the installer should use. You can also specify which JDK the installer should use from the command line. For example:
$ ./your_binary_executable -is:javahome path_to_your_jdk

Launching NetBeans IDE

To start the IDE:

  1. Navigate to the bin subdirectory of your installation.
  2. Execute the launcher script by typing ./netbeans.

Macintosh OS X

On Macintosh OS X, NetBeans is packaged as a native application bundle. The preferred method of installing NetBeans IDE is using the tarball (.tar.gz) file.

Using the tarball (.tar.gz) file

To install NetBeans IDE:

  1. Download the tarball to the desired location on your system.
  2. Double-click the file to unpack the contents on your system.

Launching NetBeans IDE

To start the IDE:

  • Double-click the NetBeans application icon.

Other Operating Systems

If you are using an operating system for which there is no installer you can still use NetBeans IDE by downloading and installing archive distributions. For more information, see the Archive Distributions section below.


Archive Distributions

You can also install archive distributions of the IDE if you want to test development builds or because you are using an operating system for which there is no installer.

Using Archive Distributions

To Install NetBeans IDE:

  1. Navigate to the directory that contains the archive file.
  2. Unpack the archive using the appropriate utilities for your system.

Launching NetBeans IDE

To launch NetBeans IDE:

  1. Navigate to the bin subdirectory of your NetBeans IDE installation.
  2. Execute the appropriate launcher for your system.

The following launchers are included in the archive distributions:

netbeans.exe - Windows
netbeansw.exe - Windows (no console window)
netbeans - UNIX, Linux
macosx_launcher.dmg - Mac Os
netbeans.cmd - OS/2

If there is no specific launcher for your operating system, you may need to create one by modifying the appropriate script. If your machine supports JDK 1.4.2 or greater you should, however, be able to run the IDE.

Note: If you create a launcher, you can contribute it to the NetBeans project. For more information, see Contributing to netbeans.org.

Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2016, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo