NetBeans 7.4 on Fedora 20/19, CentOS/RHEL 6.5/5.10

Netbeans Logo boxNetBeans 7.4 is released and this is guide with screenshots, howto install NetBeans 7.4 on Fedora 20/19/18/17/16/15, CentOS 6.5/5.10 and Red Hat (RHEL) 6.5/5.10.

What is NetBeans?

The NetBeans IDE (integrated development environment) is available for Windows, Mac, Linux, and Solaris. The NetBeans project consists of an open-source IDE and an application platform that enable developers to rapidly create web, enterprise, desktop, and mobile applications using the Java platform, as well as JavaFX, PHP, JavaScript and Ajax, Ruby and Ruby on Rails, Groovy and Grails, and C/C++.

Whats New on NetBeans 7.4?

  • HTML5 features available in Java EE projects
  • Preview support for JDK 8 features: Profiles, Lambdas
  • Nette Framework 2 (with Latte templates) and Zend Framework 2 support
  • Support for Android and iOS Browsers
  • Editing support for AngularJS, Knockout and ExtJS frameworks
  • HTML5 features available in PHP applications
  • Enhancements to Versioning tools: Subversion, Git, Mercurial

Complete feature list from NetBeans site.

Install NetBeans 7.4 on Fedora 20/19/18, CentOS 6.5/5.10, Red Hat (RHEL) 6.5/5.10

1. Install Sun’s Java

You have to install Sun’s Java, because NetBeans won’t currently run with OpenJDK. Here is the guide, howto install Oracle Java JDK 7 on Fedora, CentOS, Red Hat (RHEL).

2. Download NetBeans 7.4

from NetBeans 7.4 download page.
NetBeans IDE 7.4 Download

Select best suitable version or select whole package.

3. Change to root

4. Make package executable

NetBeans 7.4

4. Run installer (as root)

NetBeans 7.4

5. NetBeans IDE Welcome Screen

NetBeans IDE 7.4 Welcome Screen

With full package is possible customize module selection, with clicking customize button:
NetBeans IDE 7.4 Customize Installation

6. Accept NetBeans Licenses

NetBeans IDE 7.4 License Agreement

NetBeans IDE 7.4 Junit License Agreement

7. Choose a NetBeans Installation Directory and JDK version

Choose a NetBeans IDE 7.4 Installation Directory and JDK version

If GlassFish Application Server is also selected to Installation then select Directory also for GlassFish:
Choose a NetBeans IDE 7.4  GlassFish Installation Directory and JDK version

8. Check NetBeans Installation Summary

Netbeans IDE 7.4 Installation Summary

9. Installing NetBeans IDE

Netbeans IDE 7.4 Installing Netbeans

Downloading and installing updates:
Netbeans IDE 7.4 Download and Installing Updates

10. NetBeans IDE Installation Complete

Netbeans IDE 7.4 Installation Complete

11. Start NetBeans 7.4 IDE

Or Start NetBeans with using desktop launcher.

12. NetBeans IDE 7.4 Screenshots

NetBeans IDE 7.4 running on Fedora 20

Netbeans IDE 7.4 Running on Fedora 20

NetBeans IDE 7.4 running on CentOS 5.10

NetBeans IDE 7.4 running on CentOS 5.10

Share this post


  1. I have installed Netbeans 7.1RC2. It works, except with Maven. You cannot create Maven-Projects and existing Maven-Projects cannot be processed as usual. – After having lost to much time with fedora16 and Netbeans I have to change to the detested Windows 7 because there its all working fine.

  2. Buenas tardes.
    En Fedora 16 version de 64 bits, instale el netbeans 6.9 pero por cualquier cosa se cierra, también probé con la versión 7 y pasa lo mismo. si de pronto conocen la solucion, muchas gracias..

  3. Dumelang,

    I have just successful installed and tested a Zend project in ¨/var/www/html/test-project¨. Then I created a new Zend PHP project in ¨/home/Quet/NetBeansProjects/PhpProject1¨, but it doesńt run. When I and try and run the project, i get The requested URL /PhpProject1/ was not found on this server on ¨http://localhost/PhpProject1/¨

    So, I tried to create a new project, but this time in ¨/var/www/html/PhpProject1¨, BUT netbeans 7.1 tells me ¨Sources folder is not writable¨. So I then proceed to ¨[root@localhost www]# chmod -R 0775 ./html/¨.

    I am clearly clueless, so please advice me on how to properly set-up my Netbeans, PHP and Zend environment to get up and going.


  4. I need to run Netbeans as “root” in F16 because I can’t write to /var/www/html where my projects reside. I know about besuu command which is a GUI for su but didn’t know how to change the Netbeans path at Activities launcher, any help?

    • Hi ReynierPm,

      Maybe you should change your project directory permissions or whole project directory location?

  5. The directory is at /var/www/html/cmv and is owned by apache:reynierpm with 777 permissions and still can’t write nothing there

    • Could you post output of following commands:

  6. Just wanted to say you post awesome guides. Keep up the good work. I may have a question or two, if I run into anything.

  7. Quick question: Can’t I use netbeans with just IcedTea, and how much of a difference would it really make in speed?

    $ java -version
    java version “1.6.0_24″
    OpenJDK Runtime Environment (IcedTea6 1.11.3) (rhel-
    OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)

    • Hi RW,

      And thank you for compliments. Very nice to hear that you like my guides. :)

      NetBeans should work with IcedTea. It’s almost impossible say is there any speed difference.

      • Netbeans installation is not working with openjdk. No compatibleJdk found error.

        java version “1.7.0_09-icedtea”
        OpenJDK Runtime Environment (fedora-
        OpenJDK 64-Bit Server VM (build 23.2-b09, mixed mode)

        • Thanks Dinesh,

          I removed OpenJDK part from guide too.

  8. Hi JR, thanks for the quick response. I guess I am going to have to get Sun’s Java, which is ok, since I have to work on an enterprise app anyway using this. It apparently does not recognize the version of Ice Tea that I have. I am on CentOS 6.3. I am using your Get Java guide that you linked earlier, within this guide.

    • I actually just checked NetBeans 7.2 system requirements and looks like Java JDK 6 Update 26 or later is required to install the NetBeans IDE. So that’s why OpenJDK 1.6.0_24 won’t work.

      But yes you could install newer Sun/Oracle Java 7 or install newer OpenJDK. Maybe Java 7 is good choice… :)

  9. This steps runs on Fedora 19?


    • Yes, this should work normally on Fedora 19, I update this guide soon, with Netbeans 7.3 and Fedora 19.

  10. how do I unisntall netbeans

    • Hi C,

      If you installed it under /opt, then run following as root:

      If somewhere else, then run:

  11. Hi!

    I installed netbeans 7.4 but my php version is 5.5.7. But to create a new project i only have de php 5.4 option?

    I want to install zend framework 2 (which is said supports 5.4).

    This will cause me some troubles?

    Should i roll back my server to php 5.4?


    • Hi Richardd,

      You should try NetBeans nitgly builds PHP 5.5 should be supported based on this and installation is as easy as NB 7.4 installation.

  12. Hi JR,
    Netbeans 8 was released yesterday, any idea on how to upgrade my current netbeans 7.4 (installed thanx to this post, thanx by the way) to v8?
    best regards

  13. When I tried to install on Centos 6.5 i got this :

    java.lang.NoClassDefFoundError thrown from the UncaughtExceptionHandler in thread “main”

    • Hi Victor,

      Could you post output of following command:

  14. I already solved that problem.was because I run the installer as a root.
    And just changed the user. Thanks.

  15. also works with fedora 21 :-)


Submit a Comment

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">