fixed java resolver