public boolean isSupportedJavaHomeDir(File dir, JavaFilter javaFilter) {
		try {
			return isJavaVersionSupported(getJavaVersion(dir, javaFilter));
		}
		catch (IOException | ParseException e) {
			return false;
		}
	}
Tests to see if the given directory is a supported Java home directory for this application
configuration.

@param dir The directory to test.
@param javaFilter A filter used to restrict what kind of Java installations we support.
@return True if the given directory is a supported Java home directory for this application
  configuration.
GhidraBuild/LaunchSupport/src/main/java/ghidra/launch/AppConfig.java