Refactored get_jre_versions() and formatted code.