add java setting