auto deploy java environment