update java settings