J2SE Development Kit 5.0 Update 22 and NetBeans IDE 6.7.1 Software Bundle

The following instructions describe how to install the Java TM 2 Platform, Standard Edition Development Kit (J2SE 5.0 Update 22 JDK TM) and the NetBeans TM IDE 6.7.1 integrated development environment bundle.

Contents

Installing the Software Bundle on Microsoft Windows

To install the software, you must have Administrator privileges on your system. The installer places the Java Runtime Environment (JRE) software in % Program Files %\Java\jre1.5.0_22 , regardless of the specified JDK install location.

Note: This installer will not displace the system version of the Java platform that is supplied by the Windows operating system.

Both the JDK and IDE have been tested on the following Windows platform:

  • Microsoft Windows XP Professional (SP3)

Before You Install

  1. Verify that your system meets or exceeds the minimum hardware requirements:
    • 800MHz Intel Pentium III or equivalent
    • 512 MB of RAM
    • 750 MB of free space

      Note: The installer uses the %USERPROFILE% \Local Settings\Temp directory to store temporary files.

  2. Verify that you have Administrator privileges on your system.
  3. Download the installer file, which has the .exe extension.

Installing the Software

    Double-click the installer .exe file to run the installer.

    At the License agreement page, review the license agreement, select the acceptance checkbox, and click Next.

    At the JDK installation page, specify the directory where to install the JDK and click Next.

    At the NetBeans IDE installation page, do the following:

    Specify the directory for the NetBeans IDE installation.

    Accept the default JDK installation to use with the IDE or specify another JDK location.

    Review the Installation Summary page to ensure the software installation locations are correct.

    Click Install to begin the installation.
    When the installation is complete, you can view the log file, which resides in the following directory: % USERPROFILE %\.nbi\log.

Installing the Software Bundle on Solaris OS (SPARC and x86 Platform Editions) and Linux Platforms

You can install the JDK software and NetBeans IDE in directories of your choice. You do not have to be a root user to use this installer unless you choose to install this bundle in a system-wide location.

Note: This installer will not displace the system version of the Java platform that is supplied by the operating system.

Both JDK and NetBeans IDE 6.7.1 have been tested on the following:

  • Solaris 10 OS (SPARC Edition)
  • Solaris 10 OS (x86 Platform Edition)
  • Ubuntu 8.10 and 9.04

Before you install

If you are installing on Solaris OS, install the required Solaris OS patches before proceeding further. If you install this bundle without having first installed the proper Solaris patches, you may experience unexpected behavior with the installer or the Java platform.

Verify that your system meets or exceeds the recommended minimum hardware requirements:

  • Ultra 10 workstation, 450 MHz, AMD Opteron 1200 Series 1.8 GHz, or Pentium III workstation, 800 MHz
  • 512 MB of RAM
  • 650 MB of free space

    Note: The installer uses the /tmp or the /var/tmp directory for temporary files.

Download the installer file and save it on your system.

  • For Solaris OS SPARC Platform Edition, the installer file name is jdk-1_5_0_22-nb-6_7_1-solaris-sparc-ml.sh
  • For Solaris OS x86 Platform Edition, the installer file name is jdk-1_5_0_22-nb-6_7_1-solaris-x86-ml.sh
  • For Linux operating system, the installer file name is jdk-1_5_0_22-nb-6_7_1-linux-ml.sh

Navigate to the directory into which you downloaded the installer file and type:
chmod +x < installer-file-name > to change the installer file's permissions so it can be executed.

Installing the Software

Type the following command from the directory where you placed the installation file:

./< installer-file-name>

At the License agreement page, review the license agreement, select the acceptance checkbox, and click Next.

At the JDK installation page, specify the directory where to install the JDK and click Next.

At the NetBeans IDE installation page, do the following:

Specify the directory for the NetBeans IDE installation.

Accept the default JDK installation to use with the IDE or specify another JDK location.

Review the Installation Summary page to ensure the software installation locations are correct.

Click Install to begin the installation.
When the installation is complete, you can view the log file, which resides in the following directory: ~ /.nbi/log.

Note: If you choose to install this bundle into a system-wide location such as /usr/local, you must first login as root to gain the necessary permissions.

Uninstalling the Software from Windows

Each product in the bundle must be uninstalled separately.

To uninstall the IDE:

Shut down the IDE.

From the Control Panel, select Add or Remove Programs, select NetBeans IDE 6.7.1 and click Remove.

To uninstall the JDK:

  • From the Control Panel, select Add or Remove Programs, select J2SE Development Kit 5.0 Update 22 from the list and click Remove.

Note: If you uninstall the JDK, but want to continue using NetBeans IDE 6.7.1, you must set the IDE's -jdkhome option to point to an another installation of the J2SE JDK as outlined below.

To uninstall the J2SE Runtime Environment:

  • From the Control Panel, select Add or Remove Programs, select J2SE Runtime Environment 5.0 Update 22 from the list and click Remove.

To change the value of -jdkhome :

Navigate to the etc folder of the NetBeans IDE installation directory.
By default, the IDE is installed at %ProgramFiles%\NetBeans 6.7.1 (e.g., C:\Program Files\NetBeans 6.7.1\etc).

Open the netbeans.conf file in a text editor, and edit the netbeans_jdkhome option.

Uninstalling the Software from Solaris OS (SPARC and x86 Platform Editions) and Linux platforms

Each product in the bundle must be uninstalled separately.

To uninstall the IDE:

Navigate to the installation directory of the NetBeans IDE.

Type ./uninstall.sh to run the uninstaller.

To uninstall the JDK:

  • Remove the JDK installation directory.

Finding Additional Documentation

NetBeans IDE is documented in the software's help system, however, additional documentation about NetBeans IDE is available at http://www.netbeans.org/kb/.

Providing Feedback

To report a bug or to request a feature for the J2SE JDK software, please refer to the following web site: here.

To submit comments or suggestions about the J2SE JDK software, please send email to the appropriate Java technology engineering team.

For NetBeans software development team contact information or to learn more about NetBeans IDE and the NetBeans community, visit http://www.netbeans.org/community/index.html.

To submit feedback about this documentation, please send email to Documentation Feedback.