NetBeansTM IDE 4.1 Installation Instructions
The following instructions cover installation of both NetBeans IDE
4.1 (standalone installer) as well as the NetBeans IDE 4.1 and Sun
Java Application Server Platform Edition 8 2005Q1 Bundle.
Installation details for:
Note: For system requirements and other information, such as launching
the IDE with different startup parameters, see the Release
Notes.
NetBeans IDE Installation (Standalone Installer)
Following are instructions for installing the standalone NetBeans IDE
on all supported platforms.
On Microsoft Windows machines, the preferred method of installing NetBeans
IDE is using the self-extracting installer.
To install the NetBeans IDE 4.1:
- Once you have downloaded the installer file, double-click the installer's
icon to launch the installer.
- In the install wizard, respond to the License Agreement, then click Next.
- Specify an empty directory within which to install NetBeans IDE.
Note: This NetBeans IDE will not disrupt the settings of your
other NetBeans installations because the IDE automatically creates a
new user directory when launched (HOME_DIR/.netbeans/4.1).
- Choose the JDK you want the software to use from the list of suitable
choices in the list, then click Next.
- Verify that the installation location is correct and that you have adequate
space on your system for the installation.
- Click Next to begin the installation.
Note: If you encounter problems successfully completing the software
installation, see the Troubleshooting section
below for full descriptions and suggested workarounds for unresolved
issues that could affect the installation process.
On machines running Solaris™ operating system, the
binary installer is the preferred method for installing NetBeans IDE.
To install the NetBeans IDE 4.1:
- Navigate to the directory that contains the installer.
- 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.
- 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.
- In the install wizard, respond to the License Agreement, then click Next.
- Specify an empty directory within which to install NetBeans IDE, then
click Next.
- Choose the JDK you want the software to use from the list of suitable
choices in the list, then click Next.
Note: The installer searches for installed JDKs and prompts you
to specify which the installer should use, but 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
- Verify that the installation location is correct and that you have adequate
space on your system for the installation.
- Click Next to begin the installation.
Note: If you encounter problems successfully completing the software
installation, see the Troubleshooting section
below for full descriptions and suggested workarounds for unresolved
issues that could affect the installation process.
On Linux machines, the binary installer is the preferred method for installing
NetBeans IDE.
To install the NetBeans IDE 4.1:
- Navigate to the directory that contains the installer.
- 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.
- 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.
- In the install wizard, respond to the License Agreement, then click Next.
- Specify an empty directory within which to install NetBeans IDE, then
click Next.
- Choose the JDK you want the software to use from the list of suitable
choices in the list, then click Next.
Note: 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
- Verify that the installation location is correct and that you have adequate
space on your system for the installation.
- Click Next to begin the installation.
Note: If you encounter problems successfully completing the software
installation, see the Troubleshooting section
below for full descriptions and suggested workarounds for unresolved
issues that could affect the installation process.
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.
To install the NetBeans IDE 4.1:
- Download the tarball to the desired location on your system.
- Double-click the file to unpack the contents on your system.
Note: If you encounter problems successfully completing the software
installation, see the Troubleshooting section
below for full descriptions and suggested workarounds for unresolved
issues that could affect the installation process.
NetBeans IDE and Sun Java System Application Server
Bundle Installation
Following are instructions for installing the NetBeans IDE
and Sun Java System Application Server bundle on all supported platforms.
On Microsoft Windows machines, the preferred method of installing NetBeans
IDE is using the self-extracting installer.
To install the NetBeans IDE 4.1 and Sun Java System Application Server
Platform Edition 8 bundle:
- Once you have downloaded the installer file, double-click the installer's
icon to launch the installer.
- In the install wizard, respond to the License Agreement, then click Next.
- Specify an empty directory within which to install the bundled software,
then click Next. The installation directory must not contain spaces in it's
name.
Note: This NetBeans IDE will not disrupt the settings of
your other NetBeans installations because the IDE automatically creates
a new user directory when launched (HOME_DIR/.netbeans/4.1).
- Choose the JDK you want the software to use from the list of suitable
choices in the list, then click Next.
- Verify that the installation location is correct and that you have adequate
space on your system for the installation.
- Click Next to begin the installation.
Note: If you encounter problems successfully completing the software
installation, see the Troubleshooting section
below for full descriptions and suggested workarounds for unresolved
issues that could affect the installation process.
On machines running Solaris™ operating system, the
binary installer is the preferred method for installing NetBeans IDE.
To install the NetBeans IDE 4.1 and Sun Java System Application Server
Platform Edition 8 bundle:
- Navigate to the directory that contains the installer.
- 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.
- 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.
- In the install wizard, respond to the License Agreement, then click Next.
- Specify an empty directory within which to install the bundled software,
then click Next. The installation directory must not contain spaces in it's
name.
- Choose the JDK you want the software to use from the list of suitable
choices in the list, then click Next.
- Verify that the installation location is correct and that you have adequate
space on your system for the installation.
- Click Next to begin the installation.
Note: If you encounter problems successfully completing the software
installation, see the Troubleshooting section
below for full descriptions and suggested workarounds for unresolved
issues that could affect the installation process.
On Linux machines, the binary installer is the preferred method for installing
NetBeans IDE.
To install the NetBeans IDE 4.1 and Sun Java System Application Server
Platform Edition 8 bundle:
- Navigate to the directory that contains the installer.
- 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.
- 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.
- In the install wizard, respond to the License Agreement, then click Next.
- Specify an empty directory within which to install the bundled software,
then click Next. The installation directory must not contain spaces in it's
name.
- Choose the JDK you want the software to use from the list of suitable
choices in the list, then click Next.
- Verify that the installation location is correct and that you have adequate
space on your system for the installation.
- Click Next to begin the installation.
Note: If you encounter problems successfully completing the software
installation, see the Troubleshooting section
below for full descriptions and suggested workarounds for unresolved
issues that could affect the installation process.
On Mac OS X, NetBeans is packaged as a native application bundle. The
preferred method of installing NetBeans IDE is using the tarball (.tar.gz)
file.
To install the NetBeans IDE 4.1 and Sun Java System Application Server
Platform Edition 8 bundle:
- Navigate to the directory that contains the installer.
- Launch the installer by double-clicking the bundle installer jar
file.
- On the install wizard's initial panel, click Next to continue.
- In the install wizard, respond to the License Agreement, then click Next.
- Specify an empty directory within which to install the bundled software,
then click Next. The installation directory must not contain spaces in it's
name.
- Choose the JDK you want the software to use from the list of suitable
choices in the list, then click Next.
- Verify that the installation location is correct and that you have adequate
space on your system for the installation.
- Click Next to begin the installation.
Note: If you encounter problems successfully completing the software
installation, see the Troubleshooting section
below for full descriptions and suggested workarounds for unresolved
issues that could affect the installation process.
Launching the IDE
Following are instructions for starting the NetBeans IDE. 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.
To start the IDE on Microsoft Windows machines, do one of the following:
- Double-click the NetBeans IDE icon on your desktop.
- From the Start menu, select NetBeans IDE 4.1 > NetBeans IDE.
To start the NetBeans IDE on Solaris systems:
- Navigate to the bin subdirectory of your installation.
- Execute the launcher script by typing ./netbeans.
To start the NetBeans IDE on Linux systems:
- Navigate to the bin subdirectory of your installation.
- Execute the launcher script by typing ./netbeans.
To start the NetBeans IDE on Mac OS X systems:
- Double-click the NetBeans IDE application icon.
Registering and Starting the Application Server
If you used the standalone NetBeans 4.1 IDE installer, you need to register
the Application Server before you can use it.
Registering the Sun Java System Application Server
To register the Sun Java System Application Server:
- Go to Tools > Server Manager.
- In the Server Manager, click Add Server.
- In the dialog box, select Sun Java System Application Server 8 and click
Next.
- Enter a name for the server instance. This name is used to identify the
server in the IDE.
- Enter the location, user name, and password. You do not need to enter
the the installation location and domain if you are registering a remote
instance of the server. You have to register a local installation of the
application server before you can register remote instances.
- Click Finish.
Note: If you used the bundle installer, the Sun Java System Application
Server was installed and configured automatically so it is not necessary to
carry out the registration procedure outlined above.
Starting the Sun Java System Application Server
To start the Application Server:
- In the Runtime window, right-click the newly-created localhost node and
choose Start/Stop Server from the contextual menu.
- In the Server Status dialog, click Start Server.
- Click Close to close the dialog box.
Note: The NetBeans IDE and Sun Java System Application Server bundle
creates the admin user with password adminadmin by default.
Users should use these settings to log in via the web console.
Archive Distributions
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.
You can also install archive distributions of the IDE if you want to test development
builds.
To install archive NetBeans IDE distributions:
- Navigate to the directory that contains the archive file.
- Unpack the archive using the appropriate utilities for your system.
To launch archive NetBeans IDE distributions:
- Navigate to the bin subdirectory of your NetBeans IDE installation.
- Execute the appropriate launcher for your system.
The following launchers are included in the archive distributions:
netbean.exe - Windows
nb.exe - Windows (from within a console window)
netbeans - UNIX, Linux
NetBeans - Mac OS X
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.
Troubleshooting
If you experience problems installing or running the software, see the
list of issues below for workarounds. For a complete list of known issues,
system requirements and other useful information, see the Release
Notes.
Following are the unresolved issues for this release that could affect
or disrupt the installation process:
- Issue #26965
Description:
If you have an incompatible version of sax.jar in your JDK
installation, the IDE installer crashes with the following message:
"The wizard cannot continue because of the following error: could
not load wizard specified in /wizard.inf (104)"
Workaround:
Temporarily remove jre/lib/endorsed/sax.jar from the JDK directory
during IDE installation.
- Issue
#58848 (Macintosh OS X only)
Description:
Sun Java System Application Server installation fails on Mac OS X
when using the NetBeans 4.1 IDE and Sun Java System Application Server
Platform Edition 8 Bundle installer.
The AppServer installer must be run on J2SE
1.4.x SDK when using OS X.
Workaround:
If this happens, select the
J2SE 1.4.2 SDK (the default) when the installer prompts you to designate
which JVM it should run on. Alternately, you can change
the JDK the IDE runs on and then
register the JDK 1.5 platform using the Platform Manager (Tools > Platform
Manager). Note that you can still develop for JDK 1.5 even though the
IDE itself is running on 1.4.2.