Set default java version in server