add java and ark