Update README.md

Added error handling for "Unsupported major.minor version 51.0"