How do I run a Java program?
|Related issue:||-||Related Message:||-|
If this happens just try to start your program like this:
1 AWT_TOOLKIT=MToolkit program
This changes the default tookit of Java to MToolkit, which is known to work with non-reparenting windows managers like subtle. Depending on your OpenJDK version and your architecture this may either lead to a segmentation fault or your OpenJDK just has no support for MToolkit. In this case check if your distribution has applied a patch for this issue which allows something like this to change the default behaviour:
1 _JAVA_AWT_WM_NONREPARENTING=1 program
In case both doesn't work there is a third option: Java seems to use an internally hardcoded list of window managers that are non-reparenting, the suckless guys made a tool (wmname) to change the name of the wm.
Generally this problem is really long lasting, see here:
Also available in: PDF