Making a Java JAR file self-executing (on Linux)

from blog Kevin Boone's website, | ↗ original
A quick-and-dirty way to make it possible to execute Java JAR files at the prompt, without needing to invoke the JVM.