Sunday, December 6, 2015

How to Setup Nebeans 



Required Software

The Java SE Development Kit (JDK) 7 Update 10 (or later) or JDK 8 is required to install NetBeans IDE. You can download the latest update of JDK 7 and JDK 8 at http://www.oracle.com/technetwork/java/javase/downloads.
The PHP and C/C++ NetBeans bundles only require the Java Runtime Environment (JRE) 7 or 8 to be installed and run. JDK 7 or 8 is required if you are planning to use any of the Java features.
JDK 7 Update 6 (or newer) is required to use JavaFX 2.2 (or newer) features in NetBeans IDE 8.0.2.
JDK 8 is required to use JavaFX 8 features in NetBeans IDE 8.0.2.
Note:
  • JavaFX 2.2 is bundled with the latest JDK 7 for Windows, Mac and Linux.
  • JavaFX 8 is bundled with JDK 8 for Windows, Mac and Linux.
  • Unlike previous versions of NetBeans IDE, NetBeans IDE 8.0.2 does not require that you set up an "FX-enabled" Java platform in order to utilize JavaFX support in the IDE. You can develop JavaFX projects in the IDE if you install any standard Java platform that is JDK 7 Update 6 (or newer) or JDK 8.
  • To use JavaFX features in NetBeans IDE, we strongly recommend that you upgrade your JDK version to JDK 7 Update 10 (or newer) or use JDK 8.

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.
The following installers are available:
  • Java SE. Supports all standard Java SE development features as well as support for NetBeans Platform development and JavaFX 2.2 SDK (or newer) or JavaFX 8 EA SDK.
  • Java EE. Provides tools for developing Java SE and Java EE applications as well as support for NetBeans Platform development and JavaFX 2.2 SDK (or newer) or JavaFX 8 EA SDK. This download option also includes GlassFish Server Open Source Edition 4.1, and Apache Tomcat 8.0.15 software.
  • C/C++. Supports development in the C, C++, Qt, Fortran and Assembly languages.
  • PHP. Provides tools for PHP 5.x development, Zend and Symfony Framework support.
  • All. This is a full download option, which contains all the runtimes and technologies available for the NetBeans IDE.

Customizing Your Installation

If you download the All download option, 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 PHP 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:
  • GlassFish Server Open Source Edition 4.1 is included in the Java EE and All download options but it is not installed by default from either of these options. To install GlassFish Server Open Source Edition 4.1, select the appropriate option below:
    • from the Java EE download, launch the installer and select the GlassFish Server Open Source Edition 4.1 checkbox at the Welcome page;
    • from the All download, launch the installer and select GlassFish Server Open Source Edition 4.1 in the Customize Installation dialog box.
    You should change the default administrator password after you install the GlassFish server, refer to FaqSettingGlassFishPassword for details.
  • Apache Tomcat 8.0.15 is included in the Java EE and All download options but it is not installed by default from either of these options. To install Apache Tomcat, select the appropriate option below:
    • from the Java EE download, launch the installer and select the Apache Tomcat 8.0.15 checkbox at the Welcome page;
    • from the All download, launch the installer and select Apache Tomcat 8.0.15 in the Customize Installation dialog box.
  • 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 document.
  • For HTML5 and JavaScript development for mobile devices (Android and iOS), you need to additionally install SDKs and other development tools for the target development platform. For more information, refer to the Mobile Browsers wiki page.
  • For OS X, you can customize the NetBeans IDE installation from the All and Java EE downloads. The IDE installation from Java SEC/C++, and PHP downloads cannot be customized.
  • 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.
  • To make sample project templates unreachable in the NetBeans IDE installation, see the Hide Sample Projects FAQ page.

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.

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 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 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>. Type ./<installer-file-name> to run the installer.
  2. If you downloaded the All or Java EE bundle, you can customize your installation. Perform the following steps at the Welcome page of the installation wizard:
    1. Click Customize.
    2. In the Customize Installation dialog box, make your selections.
    3. 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 JUnit License Agreement page, decide if you want to install JUnit and click the appropriate option, click Next.
  6. At the NetBeans IDE installation page, do the following:
    1. 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.
    2. 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.
      Note: If the JDK version is older than the recommended JDK 7 Update 10, download and install the latest JDK update from Java SE Downloads page and restart the NetBeans IDE installer.
  7. If the GlassFish Server Open Source Edition 4.1 installation page opens, accept the default installation directory or specify another installation location.
  8. If you are installing Apache Tomcat, on its installation page, accept the default installation directory or specify another installation location. Click Next.
  9. At the Summary page, do the following:
    1. Verify that the list of components to be installed is correct.
    2. Select the Check for Updates check box if you want to check the Update Center for possible updates and have the JUnit library installed during the installation (provided you accepted the license in step 5.)
    3. Verify that you have adequate space on your system for the installation.
  10. Click Install to begin the installation.
  11. At the Setup Complete page, provide anonymous usage data if desired, and click Finish.

No comments:

Post a Comment