Add fix for JAVA and Xmonad