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.
Download JDK with Netbeans 7.4 IDE for Linux:Netbeans 7.4 for Linux
Open Terminal Window
(Press “Enter” to Execute Commands)
Starting JDK with NetBeans 7.4 Installer
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"
Follow with JDK NetBeans 7.4 Installation
Oracle JDK 7 Installation Location is Set As Usual in /usr/lib/jvm
The Oracle NetBeans Installation is leaved As Default in /usr/local
Now You can take a Break Until the Wizard Achieve Downloads and Installation…
Congratulations You are Ready to Enjoy an Amazing NetBeans 7.4 Java IDE!
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. :)
Optionally Set Java Environment Variable
Ctrl+x to Save & Exit from nano :)
Getting-Started with Java 7 Development on NetBeans 7.4:Quick-Start Java 7 on NetBeans 7.4
How-to Install Eclipse for Java Developers on CentOS: