fixing DWM java issues