Older Javas on 10.6 may have a “ (arch):” rather than ", arch:" section in the output from /usr/libexec/java_home.  We still capture the whole version if we go all the way to ‘:’
Make text friendlier.  In particular, this makes it easier to see if a comma-separated type list was used by mistake.