fixed java defaults