add java and renew