Netbeans ide 6.0.1 installation instructions

Source: Internet
Author: User
Tags glassfish apache tomcat netbeans
Required Software

Before installing the IDE, make sure that Java SE Development Kit (JDK) 5 update 14 (version 1.5.0 _ 14) or later (including JDK 6 Update 4) is installed in the system ). If JDK 5 update 14 or later is not installed, you cannot continue to perform this installation. For more information about the required JDK version, see the required software section in the release notes of netbeans ide 6.0.1.

Installer download options

The netbeans ide 6.0.1 download page provides a variety of installation programs, from which you can select any one to download, each of which contains the basic IDE and some additional tools.

The following are available installer download options:

  • Web & JAVA ee.Provides tools for developing Java SE, Java EE, and Web applications. This download option also includes the glassfish V2 ur1 application server and Apache Tomcat software.
  • Mobility.Supports Java me application development and includes the mobility pack. This software package can be used to create MIDP applications for mobile devices. Note that some mobility functions (such as the wireless connection wizard) need to use the functions provided in Web & java ee pack. If you want to use these features, select the "all" Installation option to download.
  • Java SE.Provides all the standard functions for Java SE development. In addition, you can also develop netbeans plug-ins.
  • Ruby.Provides Ruby development tools and supports rails and jruby.
  • C/C ++.Supports C/C ++ language development.
  • All.This is the option to download the complete netbeans ide 6.0.1. It contains all the runtime environments and software packages of the IDE. In addition, it includes service-oriented architecture development tools and tools for building a unified modeling language diagram.
Customized Installation

If you use the "Web & JAVA ee" or "all" Download option, you can explicitly select the tool and runtime environment to be installed during installation.

For the "Web & JAVA ee" Download option, you can select the server to use on the welcome page.

For the "all" Download option, you need to click "Custom" on the welcome page to select the feature to use. For more information, see install software.

To add features to the netbeans ide configuration, use the netbeans plug-in manager. For example, assume that you have downloaded and installed the ruby pack. Then, you decide to try the C/C ++ function. To perform this operation, go from the IDE to the netbeans plug-in Manager (select "tool"> "plug-in"), and then add the C/C ++ pack to the existing installation.

The following are important instructions for installing and configuring some netbeans IDE features:

  1. Although Apache Tomcat 6.0.14 is included in the "Web & JAVA ee" and "all" download options, Apache Tomcat 6.0.14 is installed by default only in the "Web & JAVA ee" option. To install Apache Tomcat through the "all" Download option, start the installation program and select "Apache Tomcat 6.0.14" in the "custom installation" dialog box ".
  2. For C/C ++ Development (applicable to "C/C ++" and "all" download options), you need to install additional compilers and tools. For more information, see install and configure C/C ++ support.
  3. To use Sun Java System Access Manager, in addition to selecting the all download option for IDE, you also need to install Java application platform SDK Update 3 or later on the site. Make sure to use the "Download" or "download (including JDK)" button to download the corresponding version. For more information about the steps required to install the Access Manager, see install Sun Java System Access Manager.
  4. To develop the mobility application for the CDC device, download and install Sun Java toolkit 1.0 for CDC. After the installation is complete, you must register the CDC platform in the IDE.
  5. For Mac OS X, you cannot customize netbeans ide installation.
Start download
  1. Navigate to the netbeans ide 6.0.1 download page.
  2. Select a platform from the drop-down list in the upper-right corner of the page.
  3. Click the Download button for the download option to be installed.
  4. Save the installation file to the system.
Install software

Install the IDE on the system as described in this section. These installation instructions apply to all supported platforms. For a list of supported platforms, see the release notes of netbeans ide 6.0.1.

Microsoft Windows, Solaris OS, and Linux

Install software:

  1. After the download is complete, run the installer.
    • For Windows, the executable file extension of the installer is. Exe. Double-click the installation file to run it.
    • For Solaris and Linux platforms, the installation file extension is. Sh. For these platforms, you need to run the following command to execute the installation file:
      Chmod + X./<Installer-file-name>
  2. To select the Installation Tool and running environment, perform the following steps on the welcome page of the Installation Wizard:
    1. Click "Custom ".
    2. In the "custom installation" dialog box, select.
    3. Click OK ".
  3. On the welcome page of the Installation Wizard, click "Next ".
  4. On the license agreement page, view the license agreement, select the accept check box, and then click "Next ".
  5. On the netbeans ide installation page, perform the following operations:
    1. Accept the default netbeans ide installation directory or specify other directories.
      Note:The installation directory must be empty and the user identity for running the installation program must have the read/write permissions for this directory.
    2. Accept the default JDK installation to be used with netbeans IDE, or select another installation from the drop-down list.
      If the Installation Wizard cannot find the compatible JDK installation to be used with netbeans IDE, it indicates that JDK is not installed by default. In this case, specify the JDK path that has been installed, or cancel the current installation, install the required JDK version, and then restart the installation.
    3. Click "Next ".
  6. To open the glassfish Application Server Installation page, perform the following operations:
    1. Accept the Default Server installation directory or specify another installation directory.
      Note:The specified installation directory must be empty, and the user identity when running the installation program must have read/write permissions for this directory.
    2. From the list of compatible JDK installations, select the JDK to be used by the application server, or click the Browse button to specify other JDK installations.
    3. Change the username and password of the default server domain, or accept the default settings, and then click "Next ".
      The default user name isAdminThe password isAdminadmin.
    4. Verify the default port value of the server (HTTP,HTTPSAndAdmin), Or change these values as needed.
    5. Click "Next ".
  7. If you open the Apache Tomcat installation page, accept the default installation directory or specify another installation location.
  8. On the summary page, verify that the list of components to be installed is correct and that there is sufficient space on the system for installation.
  9. Click "Install" to start installation.
  10. When the installation is complete:
    1. To register the glassfish Application Server (installed beforehand), select the check box "register after installing Sun Java System Application Server and netbeans ide.
    2. If you have not installed the glassfish application server, select the "register after netbeans ide installation" check box to register the netbeans IDE.
    3. Click Finish to exit the wizard.
  11. If the registration check box is selected in the previous step, the registration page is displayed in the browser. Click Register ".
  12. Enter your sun online account, or create the account on the page (you can visit this site through the link.

Note:If you fail to complete software installation due to a problem, see troubleshooting. This section describes the issues that affect the installation process and provides a recommended solution.

Note:If you do not register the glassfish application server immediately after installing it, you can perform this operation when running netbeans ide or opening the Management Console of the glassfish application server.

Note:If you do not register the agent immediately after installing netbeans ide 6.0.1, you can perform this operation when running netbeans IDE.

Solaris OS, Linux

To uninstall netbeans IDE, glassfish application server, and Apache Tomcat, follow these steps.

Uninstall ide:

  1. Disable IDE.
  2. In the IDE installation directory, runUninstall. ShFile.
  3. If you want to uninstall glassfish/tomcat along with IDE, make sure that the correct version information is listed on the summary page and check the corresponding check box.
  4. On the summary page, click Uninstall ".
  5. After the uninstallation is complete, click Finish ".

Uninstall the glassfish Application Server:

  1. Disable IDE.
  2. Find the installation directory of the application server.

    Note:The default installation location varies depending on the installation type and platform. The following table shows the default installation directory of the application server.

    Platform Installation type... SOA Installation
    Solaris OS Superuser /Opt/glassfish-v2ur1
    Solaris OS
    User ~ Glassfish-v2ur1
    Linux Superuser /Usr/local/glassfish-v2ur1
  3. In the Application Server installation directory, runUninstall. ShFile.
  4. On the summary page, click Uninstall ".
  5. After the uninstallation is complete, click Finish ".

Note:For SOA functions, the glassfish Application Server is a required component. If you uninstall the application server, the SOA function is automatically deleted from the netbeans ide installation.

Uninstall Apache Tomcat:

  1. Disable IDE.
  2. Find the installation directory of Apache Tomcat and runUninstall. ShFile.
  3. On the summary page, click Uninstall ".
  4. After the uninstallation is complete, click Finish"

Upgrade earlier versions and coexist with earlier versions

If you have installed earlier versions of netbeans ide 6.0 (M9 preview, Beta 1, beta 2, RC1, or RC2) and intend to upgrade to netbeans ide 6.0.1, we recommend that you uninstall earlier versions. To perform this operation, complete these steps:

  1. Detach an earlier version 6.0 from the system.
    Follow the uninstallation procedure described in this document. For more information, see uninstall software.
  2. Run the netbeans ide 6.0 installer and install the IDE as described in the installation software.

Netbeans ide 5.5, 5.5.1, or 6.0 may exist on the same system as netbeans ide 6.0.1. You can install or run netbeans ide 6.0.1 without uninstalling netbeans ide 5.5, 5.5.1, or 6.0.

If you have installed netbeans ide 5.5 or 5.5.1, you can choose whether to import user settings from the early user directory when running netbeans ide 6.0.1 for the first time.

If you have installed netbeans ide 6.0, the system will not ask you about user settings when you run netbeans ide 6.0.1 for the first time, because these two versions use the same user directory.

Troubleshooting working directory of the installer

The installer stores data about the installation session in its working directory. For example, such data includes the list of installed components in the system, installation log messages, and registry data.

For Windows, the default location of the installer's working directory is% USERPROFILE %/. NBIFor other platforms, the default location is~ /. NBI. The log subdirectory contains the Installation Log File.

Clean up Incomplete installation

If the installation is not complete or fails, you may need to clear the previous installation in the system.

For Microsoft Windows, Solaris OS, and Linux:

  1. Delete the working directory of the installer.
  2. Delete the installation directories of the IDE and glassfish application servers.
  3. On Windows, delete allNBI *Registry key:

Disable software before installation

Before starting installation, it is best to disable firewall, anti-virus, and monitor applications. Some of these applications may prevent the IDE components from being correctly configured during installation.

For example, if the system is running the Logitech process monitor application (Lvprcsrv.exe), Disable it before installation.



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.