public static String parseJavaOutput(String output) {
		if (output != null) {
			Matcher m = javaVersionPattern.matcher(output);
			if (m.find() && m.groupCount() == 1) {
				return m.group(1);
			}
		}
		return null;
	}
Returns the Path to JAVA_HOME

@return A Path pointing to JAVA_HOME or null if it isn't defined
src/main/java/dev/jbang/util/JavaUtil.java