NetBeans 7.4 on Fedora 20/19, CentOS/RHEL 6.5/5.10 - Comment Page: 1
NetBeans 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...
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.
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..
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 ¨[[email protected] 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.
thanks
¨
Hi Quet,
Check following guide:
Enable Apache Userdir with SELinux on Fedora, CentOS and Red Hat (RHEL)
Then you can use your Apache userdir, where you create your web projects… :)
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?
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:
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.
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-1.48.1.11.3.el6_2-x86_64)
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-2.3.5.3.fc17-x86_64)
OpenJDK 64-Bit Server VM (build 23.2-b09, mixed mode)
Thanks Dinesh,
I removed OpenJDK part from guide too.
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… :)
This steps runs on Fedora 19?
Thx!
Yes, this should work normally on Fedora 19, I update this guide soon, with Netbeans 7.3 and Fedora 19.
how do I unisntall netbeans
Hi C,
If you installed it under /opt, then run following as root:
If somewhere else, then run:
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?
Thanks
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.
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
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:
I already solved that problem.was because I run the installer as a root.
And just changed the user. Thanks.
also works with fedora 21 :-)