Platform Installation

JavaTM SE Development Kit 6 Update 21 and NetBeansTM IDE 6.9.1 Software Bundle

The following instructions describe how to install the JavaTM Platform, Standard Edition Development Kit (Java SE 6 Update 21 JDKTM) and the NetBeansTM IDE 6.9.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\jre6, regardless of the specified JDK install location.

Note: This installer does 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 platforms:

  • Microsoft Windows XP Professional (SP3), Windows 7 Professional

Before You Install

  • 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.

  • Verify that you have administrator privileges on your system.
  • Download the jdk-6u21-nb-6_9_1-windows-ml.exe installer file.

Installing the Software

  1. Double-click the installer jdk-6u21-nb-6_9_1-windows-ml.exe file to run the installer.
  2. At the JDK Installation page specify which directory to install the JDK into and click Next.
  3. At the NetBeans IDE Installation page, do the following:
    1. Specify the directory for the NetBeans IDE installation.
    2. Accept the default JDK installation to use with the IDE or specify another JDK location.
  4. Review the Installation Summary page to ensure the software installation locations are correct.
  5. 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 does not displace the system version of the Java platform that is supplied by the operating system.

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

  • Solaris 10 OS (x86 and SPARC)
  • Ubuntu 9.10

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, UltraSparc II 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-6u21-nb-6_9_1-solaris-sparc-ml.sh
    • For Solaris OS x86 Platform Edition, the installer file name is jdk-6u21-nb-6_9_1-solaris-x86-ml.sh
    • For Linux operating system, the installer file name is jdk-6u21-nb-6_9_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

  1. Type the following command from the directory where you placed the installation file: ./<installer-file-name>
  2. At the JDK Installation page, specify the directory where to install the JDK and click Next.
  3. At the NetBeans IDE Installation page, do the following:
    1. Specify the directory for the NetBeans IDE installation.
    2. Accept the default JDK installation to use with the IDE or specify another JDK location.
  4. Review the Installation Summary page to ensure the software installation locations are correct.
  5. 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:

  1. Shut down the IDE.
  2. From the Control Panel, select Add or Remove Programs, select NetBeans IDE 6.9.1 and click Remove.

To uninstall the JDK:

  • From the Control Panel, select Add or Remove Programs, select Java SE Development Kit 6 Update 21 from the list and click Remove.

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

To uninstall the Java Runtime Environment:

  • From the Control Panel, select Add or Remove Programs, select Java 6 Update 21 from the list and click Remove.

To change the value of -jdkhome:

  1. Navigate to the etc folder of the NetBeans IDE installation directory. The default location is C:\Program Files\NetBeans 6.9.1\etc.
  2. Open the netbeans.conf file in a text editor and edit the netbeans_jdkhome option.

Note: Note that the Java TM SE Development Kit (JDK) 5.0 is not supported on any platform for this release. You must have JDK 6.0 on your system to install and run NetBeans IDE 6.9.1.

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:

  1. Navigate to the installation directory of the NetBeans IDE.
  2. 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 developing with NetBeans IDE is available at http://www.netbeans.org/kb/.

For installation troubleshooting help please refer to the NetBeans Installation FAQ.

Providing Feedback

To report a bug or to request a feature for the JDK software, please refer to the following web site: http://bugreport.sun.com/bugreport/index.jsp.

To submit comments or suggestions about the 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 software community, visit http://netbeans.org/community/index.html.

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