You are on page 1of 4

NetBeans IDE 6.

1 Installation Instructions
Installing the Software
Follow the instructions in this section to install the IDE on your system. These installation instructions apply to all supported platforms. For the list of supported platforms, see the NetBeans IDE 6.1 Release Notes.

Microsoft Windows, Solaris OS, and Linux
To install the software: 1. After the download completes, run the installer.

o

For Windows, the installer executable file has the .exe extension. Double-click the

installer file to run it.

o

For Solaris and Linux platforms, the installer file has the .sh extension. For these

platforms, you need to make the installer files executable by using the following command:

chmod +x ./<installer-file-name>
2. To choose the tools and runtimes to install, perform the following steps at the Welcome page of the installation wizard:

a. Click Customize. b. In the Customize Installation dialog box, make your selections. c. Click OK.
2. 3. At the Welcome page of the installation wizard, click Next. At the License agreement page, review the license agreement, select the acceptance checkbox, and click Next. 4. At the NetBeans IDE installation page, do the following:

a. Accept the default installation directory for the NetBeans IDE or specify another
directory. Note: The installation directory must be empty, and the user profile you are using to run the installer must have read/write permissions for this directory.

b. Accept the default JDK installation to use with the NetBeans IDE or select a
different installation from the drop-down list. If the installation wizard did not find a compatible JDK installation to use with the NetBeans IDE, your JDK is not installed in the default location. In this case, specify the path to an installed JDK or cancel the current installation, install the required JDK version, and restart this installation.

c. Click Next.
5. If the GlassFish application server installation page opens, do the following:

select the Register the NetBeans IDE after finishing the installer checkbox to register the NetBeans IDE. If the Apache Tomcat installation page opens. If the GlassFish application server has been installed. verify that the list of components to be installed is correct and that you have adequate space on your system for the installation. 10. b. Note: If you have not registered the NetBeans IDE 6. and the user profile you are using to run the installer must have read/write permissions for this directory. At the Summary page. which is accessible via a link. choose the JDK you want the application server to use or click the Browse button to specify another JDK installation. Note: If you encounter problems successfully completing the software installation. If the GlassFish application server has not been installed. accept the default installation directory or specify another installation location. d. Enter your Sun Online Account or create it on the www.. Accept the default installation directory for the server or specify another installation directory. The default username and password are admin and adminadmin. b. c. When the installation is complete: a. Click Install to begin the installation. to register it select the Register the Sun Java System Application Server and NetBeans IDE after finishing the installer checkbox. Change the username and password for the default server domain or accept the defaults and click Next. HTTPS.a.1 right after the installation. checkbox at the previous step. and Admin) for the server or change them if necessary. 8. Note: The installation directory you specify must be empty. 6.com page. Click Register. Click Finish to exit the wizard. Verify the default port values (HTTP. . If you selected the Register. you can do it when you run the NetBeans IDE. e. 7. c. Note: If you have not registered the GlassFish application server right after the installation. the Registration page opens in the browser. see Troubleshooting for descriptions and suggested workarounds for unresolved issues that could affect the installation process. you can do it when you run the NetBeans IDE or open the Admin console of the GlassFish application server. 9. From the list of compatible JDK installations.sun. Click Next. 11..

From the Control Panel. click Continue. Select the products you want to install Enter the administrator's name and password for your system and click OK to begin the installation. Shut down the IDE. 5. press the Customize button in the bottom left-hand side of the panel. select Add or Remove Programs. Shut down the IDE. you can uninstall the NetBeans IDE. On the last installation wizard panel. the GlassFish application server. To uninstall the IDE: 1. The package has the . then select Apache Tomcat 6. Click Accept in the pop-up window to accept the license.Mac OS X To install the software: 1. run the installer. and Apache Tomcat using the following procedures.dmg extension. Linux If necessary. 8. 3. 2. select the drive and click Continue. The tree of products is displayed. and Apache Tomcat using the following procedures. select Add or Remove Programs. 2. 2. At the Welcome page of the installation wizard. From the Control Panel. Shut down the IDE. The installation wizard starts. The installer file has the . 6. On the panels that opens click the package icon. then select GlassFish V2 UR2 and click Remove. Review the license agreement and click Continue. the GlassFish application server. At the Select a Destination page. 2. Solaris OS. To uninstall the GlassFish application server: 1. 7. top Uninstalling the Software Microsoft Windows If necessary. After the download completes.0. If you downloaded the All or Java EE bundle. To uninstall Apache Tomcat: 1. 4. From the Control Panel. then select NetBeans IDE 6. To uninstall the IDE: .1 and click Remove.mpkg extension.16 and click Remove. you can customize your installation. select Add or Remove Programs. you can uninstall the NetBeans IDE.

To uninstall Apache Tomcat: 1. root SOA Installation /opt/glassfish-v2ur2 ~/glassfish-v2ur2 Solaris OS. At the Summary page. click Uninstall..sh file. 4. 3. To uninstall the GlassFish application server: 1. At the Summary page. click Finish 2. at the Summary page make sure that the correct versions are listed and check the appropriate checkboxes.sh file. Shut down the IDE. After uninstallation completes. When you uninstall the application server. Locate the Apache Tomcat installation directory and run the uninstall. At the Summary page. click Uninstall. 4. run the uninstall.1. 2. Locate the application server installation directory. Shut down the IDE. the SOA functionality is automatically removed from the NetBeans IDE installation. 5. To uninstall GlassFish/Tomcat together with the IDE. 4. The following table shows the default application server installation directory. user Linux Linux 3. run the uninstall. click Finish. Note: The default installation location is different depending on the type of installation and the platform. click Uninstall. Note: The GlassFish application server is required for SOA functionality. In the IDE installation directory. 3.sh file. 2. After uninstallation completes. 5. Platform Solaris OS Installing As. After uninstallation completes. click Finish.. Shut down the IDE. . /usr/local/glassfish-v2ur2 root In the application server installation directory.