A JAR file is a package file format aggregating Java files, resources and metadata into one file.
By using a specific Detect JAR, you have direct control over the Detect version that you are running, rather than using the script, which automatically runs the latest version.