Download as pdf or txt
Download as pdf or txt
You are on page 1of 5

Choose page language   Search:      

  
HOME  /  Community  /  Releases & Planning  

  Not logged in. Log in, Register  
NetBeans IDE 6.9.1 Installation Instructions
 
Last updated: August 3, 2010  Releases & Planning 
 
This document describes how to install NetBeans IDE 6.9.1 on your system. Please see the NetBeans IDE  l Release Roadmap  
6.9.1 Release Notes for information about supported operating systems and hardware configurations for   
l NetBeans 7.0 
the IDE. To learn about the new features included in this release of the IDE see the  NetBeans IDE 6.9.1 
 
Release Information  page.   l NetBeans 6.9 
 
Contents   l NetBeans 6.8 
 
 
l Required Software   l NetBeans 6.7 
   
l Installer Download Options   l Earlier Releases  
 
l Customizing Your Installation 
 
l Starting the Download  
How Do I 
l Installing the Software  
File Bugs
 
¡ Microsoft Windows, Solaris OS, and Linux  
  Contribute Code  
¡ Mac OS X  
  l Contribute Patches  
¡ Platform­Independent Package    
  l Contribute Modules 
l Uninstalling the Software    
  l Get the Sources  
l Upgrading and Multiple Installation Support   
  l Get Mercurial Access  
l Troubleshooting   
  l Commit Rules  
l More Information   
  l Get Development Builds 
Required Software  
Contribute Documentation
The Java SE Development Kit (JDK) 6.0 Update 13 or later is required to install NetBeans IDE. The 6.9.1 
version of the IDE can not be installed using JDK 5.0. You can download the latest update of JDK 6.0 at  Develop RCP Apps on the 
http://java.sun.com/javase/downloads.    NetBeans Platform  

The PHP, Ruby and C/C++ NetBeans bundles only require the Java Runtime Environment (JRE) 6 to be 
NetBeans Platform APIs  
installed and run. However, if you are planning to use any of the Java features, you need JDK 6.0.   

top   Guidelines  

Installer Download Options  
On the NetBeans IDE  Download page , you can obtain one of several installers, each of which contains 
the base IDE and additional tools.   
Get Connected 
 
Mailing Lists
The following installers are available:   
l Subscribing & Unsubscribing   
l Java SE . Supports all standard Java SE development features as well as support for NetBeans RCP 
 
development platform.    l Troubleshooting 
 
l JavaFX . Includes the JavaFX SDK 1.3.1 and JavaFX Composer for multi­platform rich application  l Subscription Query  
development.     
l List FAQs 
l Java . Provides tools for developing Java SE, Java EE and Java ME applications as well as support for   
NetBeans RCP development platform. This download option also includes GlassFish Server Open  NetBeans Wiki
Source Edition 3.0.1, and Apache Tomcat 6.0.26 software.   
Blogs  
l Ruby. Provides tools for Ruby development and supports Rails and JRuby. Also contains GlassFish 
Server Open Source Edition 3.0.1.    News  
 
l C/C++. Supports development in the C, C++, Qt, Fortran and Assembly languages. 
  Events  
l PHP. Provides tools for PHP 5.x development, Zend and Symfony Framework support. 
Teach with NetBeans IDE   
l All. This is a full download option, which contains all the runtimes and technologies available for the 
NetBeans IDE.    Translate NetBeans IDE   
 
top

Customizing Your Installation  
If you download Java or "All" download options, you can choose exactly what tools and runtimes to 
install. Click Customize at the Welcome page of the installer and select the features that you want to use. 
For more information, see Installing the Software . 

If you want to add functionality to your NetBeans IDE configuration, use the NetBeans Plugin Manager. 
For example, assume that you start out by downloading and installing the Ruby pack. You then decide 
that you want to try out the C/C++ functionality. To do this, go to the NetBeans Plugin Manager from the 
IDE (choose Tools > Plugins) and add the C/C++ pack to your existing installation.  

There are several important notes about installation and configuration of some NetBeans IDE features:   

1. Apache Tomcat 6.0.26 is included in the "Java" and "All" download options but it is not installed by 
default from either of these options. To install Apache Tomcat from the Java or "All" download, 
launch the installer and select Apache Tomcat 6.0.26 in the Customize Installation dialog box.   

2. For C/C++ development (applicable for the C/C++ and "All" downloads), you need to additionally 
install compilers and tools. For more information, refer to the  Configuring the NetBeans IDE for 
C/C++/Fortran .   
1. Apache Tomcat 6.0.26 is included in the "Java" and "All" download options but it is not installed by 
default from either of these options. To install Apache Tomcat from the Java or "All" download, 
launch the installer and select Apache Tomcat 6.0.26 in the Customize Installation dialog box.   

2. For C/C++ development (applicable for the C/C++ and "All" downloads), you need to additionally 
install compilers and tools. For more information, refer to the  Configuring the NetBeans IDE for 
C/C++/Fortran .   

3. For Mac OS X, you can customize the NetBeans IDE installation from Java, Ruby, and "All" 
downloads. The IDE installation from JavaSE, PHP, and C/C++ downloads cannot be customized.   

4. You can also download  a platform ­independent zip file and run the NetBeans IDE executable file. 


Note that the GlassFish Server Open Source Edition and Apache Tomcat are only available with 
platform­specific installers.   
 
top

Starting the Download  
 
1. Go to http://netbeans.org/downloads/  

2. In the upper right area of the page, select the language and platform from the drop ­down list. You 
can also choose to download and use the platform ­independent zip file.   
 
3. Click the Download button for the download option that you want to install. 
 
4. Save the installer file to your system. 
 
top

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 and system requirements, see the 
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. 
 
3. At the Welcome page of the installation wizard, click Next. 

4. At the License agreement page, review the license agreement, click the acceptance check box, 
and click Next.   

5. 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 and click Next, or cancel the current 
installation. After installing the required JDK version you can restart the installation.   

6. If the GlassFish Server Open Source Edition 3.0.1 installation page opens, accept the default 
installation directory or specify another installation location.   

7. If you are installing Apache Tomcat, on its installation page, accept the default installation 
directory or specify another installation location.   

8. 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.   
 
9. Click Install to begin the installation. 

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.   

 
Mac OS X
To install the software:  

 
1. After the download completes, run the installer. The installer file has the  .dmg  extension. 

2. On the panels that opens click the package icon. The package has the  .mpkg  extension. The 


installation wizard starts.   
 
3. At the Welcome page of the installation wizard, click Continue. 

4. Review the license agreement and click Continue. Click Accept in the pop ­up window to accept the 
license.   
 
5. At the Select a Destination page, select the drive and click Continue. 
1. After the download completes, run the installer. The installer file has the  .dmg  extension. 

2. On the panels that opens click the package icon. The package has the  .mpkg  extension. The 


installation wizard starts.   
 
3. At the Welcome page of the installation wizard, click Continue. 

4. Review the license agreement and click Continue. Click Accept in the pop ­up window to accept the 
license.   
 
5. At the Select a Destination page, select the drive and click Continue. 

6. If you downloaded the All, Java, or Ruby 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. Select the products you want to install. 

8. Enter the administrator's name and password for your system and click OK to begin the 
installation.   
 
Platform­Independent Package 
To run the software:  

1. After the download of the platform­independent ZIP file completes, extract it to any folder on your 
system.   
 
2. Run the executable file located in the  netbeans/bin  directory. 
 
3. Accept the License Agreement. The NetBeans IDE starts. 

Note: If a compatible JDK installation cannot be found, you might need to manually add a path to 
the JDK installation directory by doing the following: 

 
1. Open the  netbeans.conf  file located in the  netbeans/etc  directory in a text editor. 

2. Enter the location of a compatible JDK installation for the  netbeans_jdkhome  option. The default 


location in Windows is  C:\Program Files\Java\jdk1.6.0 .   
 
3. Save the  netbeans.conf  file and run the executable file in the  netbeans/bin  directory. 

Note: The GlassFish Server Open Source Edition and Apache Tomcat are available only with 
platform­specific installers. 

top  

Uninstalling the Software  
Follow the instructions in this section to uninstall the IDE on your system. These uninstallation instructions 
apply to all supported platforms. For the list of supported platforms, see the release notes . 

 
Microsoft Windows
If necessary, you can uninstall the NetBeans IDE, the GlassFish Server Open Source Edition 3.0.1, and 
Apache Tomcat using the following procedures.  

To uninstall the IDE : 

 
1. Shut down the IDE. 

2. From the Control Panel, select Add or Remove Programs, then select NetBeans IDE 6.9.1 and 
click Remove.   
 
To uninstall the GlassFish Server Open Source Edition 3.0.1: 

 
1. Shut down the IDE. 

2. From the Control Panel, select Add or Remove Programs, then select GlassFish Server Open 
Source Edition 3.0.1 and click Remove.   
 
To uninstall Apache Tomcat: 

 
1. Shut down the IDE. 

2. From the Control Panel, select Add or Remove Programs, then select Apache Tomcat 6.0.26 and 
click Remove.   
 
Solaris OS, Linux
If necessary, you can uninstall the NetBeans IDE, the GlassFish Server Open Source Edition 3.0.1, and 
Apache Tomcat using the following procedures.  

To uninstall the IDE : 

 
1. Shut down the IDE. 
 
2. In the IDE installation directory, run the  uninstall.sh  file. 

3. To uninstall GlassFish and Tomcat together with the IDE, at the Summary page make sure that 
the correct versions are listed and check the appropriate checkboxes.   
 
4. At the Summary page, click Uninstall. 
 
5. After uninstallation completes, click Finish. 
 
To uninstall GlassFish Server Open Source Edition 3.0.1 :

 
1. Shut down the IDE. 
 
4. At the Summary page, click Uninstall. 
 
5. After uninstallation completes, click Finish. 
 
To uninstall GlassFish Server Open Source Edition 3.0.1 :

 
1. Shut down the IDE. 

2. 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 for various 
platforms.  
Platform Installing As... GlassFish 3.0.1 Installation
Windows user with admin rights %ProgramFiles%\glassfish­3.0.1
Windows user %USERPROFILE%\glassfish­3.0.1
Solaris OS  root /opt/glassfish­3.0.1
Solaris OS,Linux user ~/glassfish­3.0.1
Linux root /usr/local/glassfish­3.0.1
 
3. In the application server installation directory, run the  uninstall.sh  file. 
 
4. At the Summary page, click Uninstall. 
 
5. After uninstallation completes, click Finish. 
 
To uninstall Apache Tomcat: 

 
1. Shut down the IDE. 
 
2. Locate the Apache Tomcat installation directory and run the  uninstall.sh  file. 
 
3. At the Summary page, click Uninstall. 
 
4. After uninstallation completes, click Finish 
 
Mac OS X
To uninstall the IDE and application server : 

 
1. Shut down the software. 

2. Drag the program folders or files to the Trash. Note that the default location for the IDE and 
application server is  /Applications/NetBeans/ .   
 
Platform­Independent Package
To uninstall the IDE files, follow the steps described in the  Cleaning Up After Incomplete Installations 
section of this document.   

top  

Upgrading and Multiple Installation Support  
Multiple installations of NetBeans IDE 5.x and 6.x can coexist with NetBeans IDE 6.9.1 on the same 
system. You do not have to uninstall the earlier versions in order to install or run NetBeans IDE 6.9.1.   

If you have an existing installation of NetBeans IDE you can choose whether or not to import the user 
settings from the existing user directory when you run NetBeans IDE 6.9.1 for the first time.  

Note: Incremental version upgrades of the IDE cannot be performed at this time. To upgrade to 
the most recent version you must download the latest installer.  

top  

Troubleshooting  
 
About the Installer Working Directory
The installer stores data about installation sessions in the installer working directory. Examples of this 
data are the list of components installed on your system, installation log messages, and registry data.   

The default location for the installer working directory is  %USERPROFILE%\.nbi  on Windows and  ~/.nbi  


on other platforms. The log subdirectory contains the installation log files.   

 
Cleaning Up After Incomplete Installations
After incomplete or unsuccessful installations, you might need to clean up your system from previous 
installations.   

For Microsoft Windows, Solaris OS, and Linux:  

 
1. Delete the installer working directory. 
 
2. Delete the installation directories of the IDE and the GlassFish application server. 

3. On the Windows platform, delete all  nbi*  registry entries from the following registry keys: 


HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall  
HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall   
 
For Mac OS X:

l Drag the program folders or files to the Trash.   
 
Disabling Some Software Before Installation
It is better to disable firewall, antivirus, and monitoring applications before you start installation. Some of 
these applications can prevent IDE components from being configured correctly during the installation 
process.   

For example, if you have the Logitech Process Monitor application ( LVPrcSrv.exe ) running on your 


l Drag the program folders or files to the Trash.   
 
Disabling Some Software Before Installation
It is better to disable firewall, antivirus, and monitoring applications before you start installation. Some of 
these applications can prevent IDE components from being configured correctly during the installation 
process.   

For example, if you have the Logitech Process Monitor application ( LVPrcSrv.exe ) running on your 


system, switch it off before installation.   

top  

More Information  
 
l NetBeans IDE 6.9.1 Release Information  
 
l NetBeans IDE 6.9.1 Release Notes 
 
l NetBeans IDE Installation FAQ  
 

Send Us Your Feedback 

top  

By use of this website, you agree to the  NetBeans Policies and Terms of Use .
SiteMap   About Us   Contact    Legal   © 2011, Oracle Corporation and/or its affiliates.

You might also like