10

I just installed Ubuntu 15.10 64bit on my Thinkpad and everything works fine, but I installed netbeans 8.0.2 and when I try to launch it, it freezes at startup during the Loading modules phase.

I have openjdk 8 installed. I don't understand this problem since on 15.04 32bit on another computer it works just fine.

When starting netbeans from command line the message is the following:

chrisgaubla@sokioute:~/netbeans-8.0.2/bin$ sh netbeans

OpenJDK 64-Bit Server VM warning: ignoring option PermSize=32m; support was removed in 8.0

2 Answers2

18

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.

MarthyM
  • 113
  • 6
binary
  • 236
4

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.

binary
  • 236