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.

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

installer file to run it.

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:

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

b. From the list of compatible JDK installations, choose the JDK you want the
application server to use or click the Browse button to specify another JDK installation.

c. Change the username and password for the default server domain or accept the
defaults and click Next. The default username and password are admin and adminadmin.

d. Verify the default port values (HTTP, HTTPS, and Admin) for the server or change
them if necessary.

e. Click Next.
6. If the Apache Tomcat installation page opens, accept the default installation directory or specify another installation location. 7. At the Summary page, verify that the list of components to be installed is correct and that you have adequate space on your system for the installation. 8. 9. Click Install to begin the installation. When the installation is complete:

a. If the GlassFish application server has been installed, to register it select the
Register the Sun Java System Application Server and NetBeans IDE after finishing the installer checkbox.

b. If the GlassFish application server has not been installed, select the Register the
NetBeans IDE after finishing the installer checkbox to register the NetBeans IDE.

c. Click Finish to exit the wizard.


10. If you selected the Register... checkbox at the previous step, the Registration page opens in the browser. Click Register.

11. Enter your Sun Online Account or create it on the www.sun.com page, which is accessible
via a link. Note: If you encounter problems successfully completing the software installation, see Troubleshooting for descriptions and suggested workarounds for unresolved issues that could affect the installation process. Note: If you have not registered the GlassFish application server right after the installation, you can do it when you run the NetBeans IDE or open the Admin console of the GlassFish application server. Note: If you have not registered the NetBeans IDE 6.1 right after the installation, you can do it when you run the NetBeans IDE.

Mac OS X
To install the software:

1. 2.
3. 4.

After the download completes, run the installer. The installer file has the .dmg extension. On the panels that opens click the package icon. The package has the .mpkg extension. The installation wizard starts. At the Welcome page of the installation wizard, click Continue. Review the license agreement and click Continue. Click Accept in the pop-up window to accept the license.

5. 6.

At the Select a Destination page, select the drive and click Continue. If you downloaded the All or Java EE bundle, you can customize your installation. On the last installation wizard panel, press the Customize button in the bottom left-hand side of the panel. The tree of products is displayed.

7. 8.

Select the products you want to install Enter the administrator's name and password for your system and click OK to begin the installation. top

Uninstalling the Software


Microsoft Windows
If necessary, you can uninstall the NetBeans IDE, the GlassFish application server, and Apache Tomcat using the following procedures. To uninstall the IDE: 1. 2. Shut down the IDE. From the Control Panel, select Add or Remove Programs, then select NetBeans IDE 6.1 and click Remove. To uninstall the GlassFish application server: 1. 2. Shut down the IDE. From the Control Panel, select Add or Remove Programs, then select GlassFish V2 UR2 and click Remove. To uninstall Apache Tomcat: 1. 2. Shut down the IDE. From the Control Panel, select Add or Remove Programs, then select Apache Tomcat 6.0.16 and click Remove.

Solaris OS, Linux


If necessary, you can uninstall the NetBeans IDE, the GlassFish application server, and Apache Tomcat using the following procedures. To uninstall the IDE:

1.

Shut down the IDE. In the IDE installation directory, run the uninstall.sh file. To uninstall GlassFish/Tomcat together with the IDE, at the Summary page make sure that the correct versions are listed and check the appropriate checkboxes.

2.
3.

4. 5.

At the Summary page, click Uninstall. After uninstallation completes, click Finish.

To uninstall the GlassFish application server: 1. 2. Shut down the IDE. Locate the application server installation directory. Note: The default installation location is different depending on the type of installation and the platform. The following table shows the default application server installation directory. Platform Solaris OS Installing As... root SOA Installation

/opt/glassfish-v2ur2 ~/glassfish-v2ur2

Solaris OS, user Linux Linux

3.
4. 5.

/usr/local/glassfish-v2ur2 root In the application server installation directory, run the uninstall.sh file.
At the Summary page, click Uninstall. After uninstallation completes, click Finish.

Note: The GlassFish application server is required for SOA functionality. When you uninstall the application server, the SOA functionality is automatically removed from the NetBeans IDE installation. To uninstall Apache Tomcat: 1. Shut down the IDE. Locate the Apache Tomcat installation directory and run the uninstall.sh file. At the Summary page, click Uninstall. After uninstallation completes, click Finish

2.
3. 4.

You might also like