The following instructions cover installation of both NetBeans IDE 5.5 (standalone) as well as the NetBeans IDE 5.5 and Sun Java System Application Server Platform Edition 9 Bundle.
For installation information about NetBeans Add-on packs, see:
Note: For system requirements and other information, such as launching the IDE with different startup parameters, see the Release Notes.
Following are instructions for installing the standalone NetBeans IDE 5.5 on each of the supported platforms.
On Microsoft Windows machines, the preferred method of installing NetBeans IDE is using the self-extracting installer.
To install the 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}/.netbeans/5.5).
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:
$ chmod +x your_binary_executableNote: Be sure to replace your_binary_executable with the actual filename of the binary that you downloaded.
$ ./your_binary_executableNote: Again, be sure to replace your_binary_executable with the actual filename of the binary that you downloaded.
The installer searches for JDKs installed on your system and prompts you to specify which one it should use. You can also specify which JDK the IDE should use from the command line. For example:
$ ./your_binary_executable -is:javahome path_to_your_jdkNote: 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:
$ chmod +x your_binary_executableNote: Be sure to replace your_binary_executable with the actual filename of the binary that you downloaded.
$ ./your_binary_executableNote: Again, be sure to replace your_binary_executable
with the actual filename of the binary that you downloaded.
The installer searches for JDKs installed on your system and prompts you to specify which one it should use. You can also specify which JDK the IDE should use from the command line. For example:
$ ./your_binary_executable -is:javahome path_to_your_jdkNote: 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:
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.
Following are instructions for installing the NetBeans IDE 5.5 and Sun Java System Application Server Platform Edition 9 bundle on all supported platforms.
On Microsoft Windows machines, the preferred method of installing NetBeans IDE and Sun Java System Application Server bundle is using the self-extracting installer.
To install the NetBeans IDE 5.5 and Sun Java System Application Server Platform Edition 9 bundle:
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}/.netbeans/5.5).
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 and Sun Java System Application Server bundle.
To install the NetBeans IDE 5.5 and Sun Java System Application Server Platform Edition 9 bundle:
$ chmod +x your_binary_executableNote: Be sure to replace your_binary_executable with the actual filename of the binary that you downloaded.
$ ./your_binary_executableNote: Again, be sure to replace your_binary_executable with the actual filename of the binary that you downloaded.
The installer searches for JDKs installed on your system and prompts you to specify which one it should use. You can also specify which JDK the IDE should use from the command line. For example:
$ ./your_binary_executable -is:javahome path_to_your_jdkNote: 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 and Sun Java System Application Server bundle.
To install the NetBeans IDE and Sun Java System Application Server bundle:
$ chmod +x your_binary_executableNote: Be sure to replace your_binary_executable with the actual filename of the binary that you downloaded.
$ ./your_binary_executableNote: Again, be sure to replace your_binary_executable with the actual filename of the binary that you downloaded.
The installer searches for JDKs installed on your system and prompts you to specify which one it should use. You can also specify which JDK the IDE should use from the command line. For example:
$ ./your_binary_executable -is:javahome path_to_your_jdkNote: 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, the NetBeans and Sun Java System Application Server bundle is packaged as a jar file.
To install the NetBeans IDE and Sun Java System Application Server bundle:
$ chmod +x your_binary_executableNote: be sure to replace your_binary_executable with the actual filename of the binary that you downloaded.
The installer searches for JDKs installed on your system and prompts you to specify which one it should use. You can also specify which JDK the IDE should use from the command line. For example:
$ ./your_binary_executable -is:javahome path_to_your_jdkNote: 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.
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:
To start the NetBeans IDE on Solaris systems:
To start the NetBeans IDE on Linux systems:
To start the NetBeans IDE on Mac OS X systems:
If you used the standalone NetBeans 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:
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:
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.
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:
To launch archive NetBeans IDE distributions:
The following launchers are included in the archive distributions:
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.5.0 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.
If necessary, you can uninstall the NetBeans IDE using the following procedures.
To uninstall NetBeans IDE:
To uninstall the Sun Java System Application Server Platform Edition 9:
To uninstall NetBeans IDE:
To uninstall the Sun Java System Application Server:
To uninstall NetBeans IDE:
To uninstall the Sun Java System Application Server:
To uninstall NetBeans IDE:
To uninstall the Sun Java System Application Server:
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:
Description:
When using JDK installations that include an incompatible version of sax.jar, 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.
Description:
Unable to install NetBeans on some Mandrake/Mandriva Linux distributions. During initialization, the installer displays the following message:
Initializing InstallShield Wizard........
./netbeans-5_0-bin-linux.bin: line 189: bc: command not found
./netbeans-5_0-bin-linux.bin: line 404: [: : integer expression expected
Workaround:
NetBeans installer uses GNU's bc utility, which doesn't seem to install by default in Mandriva. If you experience this problem, install GNU's bc utility manually prior to installing NetBeans. If you have an active Internet connection, you can run urpmi bc from the command line to accomplish this. Note that it is also possible to download the appropriate RPM and install using the rpm -i <bc_package>.rpm command.
Description:
After starting the installer, you get a message that says "Welcome to the Install Wizard for ERROR: null". This could be caused by running multiple installers simultaneously or by running the installer after another installer that has failed to exit.
Workaround:
Delete the contents of the \InstallShield\Universal\Common directory and then restart the installer.
On Windows systems, this directory is located at C:\Program Files\Common files\InstallShield\Universal\Common.
On Solaris and Linux systems, this directory is located at /$HOME/InstallShield/Universal/Common.
Description:
For systems set to use the Turkish locale, the installer does not successfully finish.
Workaround:
Cancel the installer. On your system, switch to the English (United States) locale and then restart the installer.
On Windows XP systems, you can switch locales on your system by choosing Start | Control Panel and double-clicking Regional and Language Options. Then select the locale from the drop-down list in the Standards and Formats section of the dialog box.
You are viewing a mobilized version of this site...
View original page here