How-to Install Oracle JDK 7 with NetBeans 7.4+ on CentOS 6.X 32/64bit Easy Guide

December 17th, 2013 by Stalker

Install Oracle JDK 7 with NetBeans 7.4 on CentOS Linux




The Tutorial Shows You How-to Getting-Started with Java 7 Development with NetBeans 7.4 on CentOS 6.1/6.2/6.3/6.4/6.5/6.6/6.7/6.8/6.9 i686/x8664 Linux Desktop.

To Successfully Installing the NetBeans 7.4 for Java JDK 7 Development on CentOS You will Need to Download the JDK Bundle with NetBeans 7.4 from Oracle.

With this “All-in-One” Oracle Java 7 Development Package You Should be Able to Easy&Quick Starting as Java Developer on CentOS Linux :)

The NetBeans 7.4 New Features Includes:

  • HTML5 development for Android and iOS devices
  • HTML5 development in Java EE and PHP applications
  • Editing support for Knockout and AngularJS frameworks
  • Java SE 8 Support
  • Redesigned JavaFX support according to JDK 8 architecture

Here is Described a System Wide Installation, for a Local One Repeat the Same Steps without Shell Super-User Powers and JDK Final SetUp.

The Tutorials is Practical, Include the Basic Screenshots and Give Focus just to the Essential Instructions and Commands.

Install Oracle JDK 7 with NetBeans 7.4 on CentOS 6.X - Featured
  1. Download JDK with Netbeans 7.4 IDE for Linux:

    Netbeans 7.4 for Linux
  2. Open Terminal Window
    (Press “Enter” to Execute Commands)

    Install Oracle JDK 7 with NetBeans 7.4 on CentOS 6.X - Gnome Open Terminal
  3. Starting JDK with NetBeans 7.4 Installer

    cd $HOME/Downloads
    su 

    If Got “User is Not in Sudoers file” then Look: Solution

    chmod +x ./jdk1.7*-nb-7*-linux*.sh
    su -c "./jdk1.7*-nb-7*-linux*.sh"
  4. Follow with JDK NetBeans 7.4 Installation

    Install JDK 7 with NetBeans 7.4 IDE for CentOS 6.X Linux - Start Installation
    Install JDK 7 with NetBeans 7.4 IDE for CentOS 6.X Linux - Accept Oracle License

    Oracle JDK 7 Installation Location is Set As Usual in /usr/lib/jvm

    Install JDK 7 with NetBeans 7.4 IDE for CentOS 6.X Linux - Set JDK 7 Install Location

    The Oracle NetBeans Installation is leaved As Default in /usr/local

    Install JDK 7 with NetBeans 7.4 IDE for CentOS 6.X Linux - Set NetBeans 7.4 Install Location and JDK in Use
    Install JDK 7 with NetBeans 7.4 IDE for CentOS 6.X Linux - Start Installation
    Install JDK 7 with NetBeans 7.4 IDE for CentOS 6.X Linux - Installing

    Now You can take a Break Until the Wizard Achieve Downloads and Installation…

    Install JDK 7 with NetBeans 7.4 IDE for CentOS 6.X Linux - Installation Success

    Congratulations You are Ready to Enjoy an Amazing NetBeans 7.4 Java IDE!

  5. Finishing Up Oracle JDK Installation

    update-alternatives --install \
    /usr/bin/java java /usr/lib/jvm/jdk1.7*/bin/java 1065
    update-alternatives --install \
    /usr/bin/javac javac /usr/lib/jvm/jdk1.7*/bin/javac 1065
    update-alternatives --install \
    /usr/bin/jar jar /usr/lib/jvm/jdk1.7*/bin/jar 1065
    update-alternatives --install \
    /usr/bin/javaws javaws /usr/lib/jvm/jdk1.7*/bin/javaws 1065

    Checking or Setting the System Java Version in Use with:

    update-alternatives --config java

    To Switch of Java Version Just Enter the Reference Number on First Column. :)

  6. Optionally Set Java Environment Variable

    su <myUser>
    nano $HOME/.bashrc

    Append:

    export JAVA_HOME=/usr/lib/jvm/jdk1.7.<X_uY>

    Ctrl+x to Save & Exit from nano :)

    source $HOME/.bashrc
  7. Getting-Started with Java 7 Development on NetBeans 7.4:

    Quick-Start Java 7 on NetBeans 7.4

    Install JDK 7 with NetBeans 7.4 IDE for CentOS 6.X Linux - Quick-Start JDK 7 NetBeans 7.4

  8. How-to Install Eclipse for Java Developers on CentOS:

    Install Eclipse Java for CentOS

 - NetBeans 7.4 IDE

Tags: , , , , , , , , , , , ,