update java config