Netbeans 8.0.2 freezing at startup on Ubuntu 15.10 64bit

Solution 1:

To make it work with OpenJDK 8, edit /etc/java-8-openjdk/accessibility.properties and comment out the following line

assistive_technologies=org.GNOME.Accessibility.AtkWrapper

as suggested here: https://bugs.launchpad.net/ubuntu/+source/openjdk-8/+bug/1510009.

Solution 2:

Same here. The Java 8 build 1.8.0_66-internal-b01 seems to be a little unstable. You could either wait for a newer build to arrive in Ubuntu (https://tracker.debian.org/news/720431) or use OpenJDK 7 for now.

Edit:
This does indeed seem to be a problem with OpenJDK 8, which still seems to exist is build 66-b17. If you need Java 8, you can download Oracle's JDK from http://www.oracle.com/technetwork/java/javase/downloads and set the path to that JDK in the file <netbeans directory>/etc/netbeans.conf (parameter "netbeans_jdkhome"). I couldn't reproduce the problem with the Oracle JDK.