You are not logged in.

#1 2015-10-24 12:38:18

devwurm
Member
Registered: 2015-09-25
Posts: 12

Java Applications aren't displayed correctly when using i3 (twm)

I'm using Arch with the i3 tiling window manager for some days now, but now I get serious issues when using Java (Swing/AWT) applications:
I have the Oracle JDK 1.8.0u66 installed, but when starting Java Swing applications such as the IntelliJ installer or the Netbeans installer, the windows are displayed incorrect like in the pictures.

Broken IntelliJ
Broken Netbeans

I already tried the fixes provided in the Awesome Wiki Page and in many other forums, but nothing of this works.

Has anybody an idea how to fix this?
Thank you! smile

Last edited by devwurm (2015-10-24 12:39:39)

Offline

#2 2015-10-24 13:24:42

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,556

Re: Java Applications aren't displayed correctly when using i3 (twm)

Netbeans and intellij are both in official repos and built/tested against openjdk .
Have you tried running with openjdk8 ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#3 2015-10-24 15:08:58

devwurm
Member
Registered: 2015-09-25
Posts: 12

Re: Java Applications aren't displayed correctly when using i3 (twm)

Oh, thank you... I completely missed this possibility m(
But should be possible with Oracle JDK too, shouldn't it?

Offline

#4 2015-10-24 18:51:16

Mindstormscreator
Member
Registered: 2012-07-01
Posts: 186

Re: Java Applications aren't displayed correctly when using i3 (twm)

Stick this in your startup scripts:

export _JAVA_AWT_WM_NONREPARENTING=1

Offline

Board footer

Powered by FluxBB