Make DWM more friendly to Netbeans 8.2 Nightly

Java’s applications could make some additional quests in dwm, like blank-windowed UI.

It could be happens due to this.

To fix blank-windowed UI you’ll need to add the following line in your ~/.xinitrc:export _JAVA_AWT_WM_NONREPARENTING=1

Another issue is related to configuration of Netbeans. In my case, plugins were required for jdk installed in non-standard folder.

So, the solution was to change netbeans_jdkhome variable in /etc/netbeans.conf:netbeans_jdkhome="/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.141-1.x86_64/"

Ref urls:
https://en.wikipedia.org/wiki/Re-parenting_window_manager
https://wiki.archlinux.org/index.php/Java#Non-reparenting_window_managers

Leave a Reply

Your email address will not be published. Required fields are marked *