• Categories
    Category
  • Categories
    Category
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial Comments FAQ Related Articles

How to install NetBeans IDE in CentOS

840

To install NetBeans IDE in CentOS

NetBeans is an integrated development environment for developing Java, JavaScript, PHP, etc. It offers platform framework for Java desktop applications. It is available for Windows, Linux, Mac and Solaris operating systems.

To install Java

Download jdk package to install java by running the following command.

[root@localhost Desktop]# wget --no-check-certificate --no-cookies --header " Cookie: oraclelicense=accept-securebackup-cookie"  http://download.oracle.com/otn-pub/java/jdk/8u11-b12/jdk-8u11-linux-x64.tar.gz 
--2016-10-06 23:56:40--  http://download.oracle.com/otn-pub/java/jdk/8u11-b12/jdk-8u11-linux-x64.tar.gz
Resolving download.oracle.com (download.oracle.com)... 96.17.182.49, 96.17.182.42
&hellip 
&hellip 
2016-10-07 00:01:25 (549 KB/s) - ‘ jdk-8u11-linux-x64.tar.gz’  saved [159019376/159019376]


Extract the downloaded package as shown below.

[root@localhost Desktop]# tar -zxvf jdk-8u11-linux-x64.tar.gz 
jdk1.8.0_11/
jdk1.8.0_11/javafx-src.zip
jdk1.8.0_11/bin/
jdk1.8.0_11/bin/jmc
&hellip 
&hellip 
&hellip 
jdk1.8.0_11/jre/Welcome.html
jdk1.8.0_11/jre/README
jdk1.8.0_11/README.html


Then run the following command to move the extracted package to /usr directory.

[root@localhost Desktop]# mv jdk1.8.0_11/ /usr/ 
Install Java
[root@localhost Desktop]# /usr/sbin/alternatives --install /usr/bin/java java /usr/jdk1.8.0_11/bin/java 2
[root@localhost Desktop]# /usr/sbin/alternatives --config java 
There are 2 programs which provide ' java' .
Selection    Command
-----------------------------------------------
*+ 1           /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.51-2.4.5.5.el7.x86_64/jre/bin/java
   2           /usr/jdk1.8.0_11/bin/java
Enter to keep the current selection[+], or type selection number: 2


Check the java version by running the following command.

[root@localhost Desktop]# java -version 
java version " 1.8.0_11" 
Java(TM) SE Runtime Environment (build 1.8.0_11-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.11-b03, mixed mode)


Then set Environmental variable.

[root@localhost Desktop]# export JAVA_HOME=/usr/jdk1.8.0_11/
[root@localhost Desktop]# export JRE_HOME=/usr/jdk1.8.0_11/jre/
[root@localhost Desktop]# export PATH=$JAVA_HOME/bin:$PATH 

To install NetBeans IDE

First download the Netbeans IDE installation package by running the following command.

[root@localhost Desktop]# wget http://download.netbeans.org/netbeans/8.0.1/final/bundles/netbeans-8.0.1-linux.sh 
--2016-10-07 00:13:55--  http://download.netbeans.org/netbeans/8.0.1/final/bundles/netbeans-8.0.1-linux.sh
Resolving download.netbeans.org (download.netbeans.org)... 96.17.182.49, 96.17.182.42
&hellip 
&hellip 
2016-10-07 00:22:27 (396 KB/s) - ‘ netbeans-8.0.1-linux.sh’  saved [206829568/206829568]


Set executable permission for the downloaded package by running the following command.

[root@localhost Desktop]# chmod 700 netbeans-8.0.1-linux.sh 


Run the following command to install Netbeans IDE beans.

[root@localhost Desktop]# ./netbeans-8.0.1-linux.sh 
Configuring the installer...
Searching for JVM on the system...
Extracting installation data...
Running the installer wizard...


NetBeans IDE Graphical installer opens, then click next to proceed further.
installer
Read the license agreement and Accept the license agreement. Then click next.
license agreement
Set the Netbeans IDE installation path.
installation path
Then set the Glass Fish server installation path.
Glass Fish server
Finally check the Summary and click install.
Summary
Installation process started.
Installation_started

Double click the NetBeans IDE shortcut in the desktop to open it.
 NetBeans IDE shortcut
Check the available Plugins as follows.
Available_plugins
options
Click on About to view the Netbeans IDE.
About

Tags:
jackson
Author: 

Comments ( 0 )

No comments available

Add a comment

Frequently asked questions ( 5 )

Q

I already have NetBeans IDE, how do I get the quiz plugin?

A

You install the quiz plugin directly from the NetBeans IDE. Go to Tools -> Plugins and find the quiz plugin in the list of available plugins. Select it for installation and click the Install button.

Q

What to to if NetBeans installation failes in files unpacking ?

A

Installing NetBeans the installer finishes and the logfile shows the following notice:

extracting C:\Programme\NetBeans 7.1\platform\modules\locale\org-netbeans-modules-editor-mimelookup-impl_pt_BR.jar.pack.gz

Q

Why should I bother taking old quizzes if someone else has won the weekly prize?

A

Because the grand prize is based on your cummulative score on all quizzes.

Q

How do I get access to NetBeans sources using Mercurial (hg)?

A

First, make sure you have Mercurial installed on your machine, along with its requirements such as Python.
Then, from the command line, you run
hg clone http://hg.netbeans.org/main/
cd main

Q

What versions of the NetBeans IDE can I use for the quiz?

A

NetBeans IDE 5.5 and later: NetBeans IDE 5.5, 5.5.1, 6.0, 6.0.1, 6.1 Beta and 6.1 Release Candidate.

Related Tutorials in How to install NetBeans IDE in CentOS

Related Tutorials in How to install NetBeans IDE in CentOS

How to Install NetBeans IDE 8.2 in Ubuntu 18.04
How to Install NetBeans IDE 8.2 in Ubuntu 18.04
May 29, 2018
How to Install NetBeans IDE 8.2 in Linux Mint 18.3
How to Install NetBeans IDE 8.2 in Linux Mint 18.3
May 14, 2018
How to install NetBeans IDE in CentOS
How to install NetBeans IDE in CentOS
Oct 24, 2016
How to Install Netbeans and Java JDK in Ubuntu 14.04 and Set Up a Basic HTML5 Project
How to Install Netbeans and Java JDK in Ubuntu 14.04 and Set Up a Basic HTML5 Project
Mar 25, 2016
Back To Top!
Rank
User
Points

Top Contributers

userNamenaveelansari
135850

Top Contributers

userNameayanbhatti
92510

Top Contributers

userNamehamzaahmed
32150

Top Contributers

1
userNamelinuxhelp
31040

Top Contributers

userNamemuhammadali
24500
Can you help Ganesh Konka ?
Zentya 6.1 http proxy configuration

please send link for creating zentyal 6.1 for http proxy and firewall as gateway.

Networking
  • Routing
  • trunk
  • Netmask
  • Packet Capture
  • domain
  • HTTP Proxy
Server Setup
  • NFS
  • KVM
  • Memory
  • Sendmail
  • WebDAV
  • LXC
Shell Commands
  • Cloud commander
  • Command line archive tools
  • last command
  • Shell
  • terminal
  • Throttle
Desktop Application
  • Linux app
  • Pithos
  • Retrospect
  • Scribe
  • TortoiseHg
  • 4Images
Monitoring Tool
  • Monit
  • Apache Server Monitoring
  • EtherApe 
  • Arpwatch Tool
  • Auditd
  • Barman
Web Application
  • Nutch
  • Amazon VPC
  • FarmWarDeployer
  • Rukovoditel
  • Mirror site
  • Chef
Contact Us | Terms of Use| Privacy Policy| Disclaimer
© 2025 LinuxHelp.com All rights reserved. Linux™ is the registered trademark of Linus Torvalds. This site is not affiliated with linus torvalds in any way.