Problems with Netbeans and OpenJDK

Wed, Aug 28, 2013 1-minute read

My Netbeans installation on Ubuntu development machine stopped working few days ago. It just freezes. After some research I found that problem is with some incompatibility between Netbeans and the openjdk installed on my machine.

Solution or workaround to this problem is to uninstall openJDK and replace it with Oracle JDK.

Here are step-by-step instructions how to do this:

http://www.wikihow.com/Install-Oracle-Java-on-Ubuntu-Linux

Last step is to update netbeans.conf with new path:

    netbeans_jdkhome="/usr/lib/jvm/default-java/jre"
    netbeans_jdkhome="/usr/lib/jvm/jdk1.7.0\_25/jre"