Use required Java version in error message
Fix lower/upper case in fieldType tags