@Override
	public int compareTo(JavaVersion other) {
		if (major > other.major) {
			return 1;
		}
		if (major < other.major) {
			return -1;
		}
		if (minor > other.minor) {
			return 1;
		}
		if (minor < other.minor) {
			return -1;
		}
		if (patch > other.patch) {
			return 1;
		}
		if (patch < other.patch) {
			return -1;
		}
		return 0;
	}
Gets the architecture.

@return The architecture.
GhidraBuild/LaunchSupport/src/main/java/ghidra/launch/JavaVersion.java