16 September 2015

Workaround for Netbeans crashing in Debian sid

A short while ago, my local install of Netbeans 8.0.2 started refusing to start with OpenJDK on my aptosid  box. I got around the problem by downloading Oracle Java and pointing Netbeans at that via my netbeans.conf:

...
# netbeans_jdkhome="/usr/lib/jvm/default-java"
netbeans_jdkhome="/home/mithat/opt/oracle-java/jre1.8"
...

Today I found Debian bug #798924 that suggests a workaround that allows using OpenJDK. In /etc/java-7-openjdk/accessibility.properties, comment out the line:

assistive_technologies=org.GNOME.Accessibility.AtkWrapper

So far so good.