COMMENT(\s\S+)*\ add(\s\S+)*\ a\ simple\ script\ that\ can\ auto\-detect\ the\ appropriate\ JAVA_HOME\ value\ based\ on\ whether\ the\ JDK\ or\ only\ the\ JRE\ is\ installed(\s\S+)*