title: What is the best way of packaging Java software for running on Windows?
body: <p>What's the best way to package Java software for running on Windows?  Is there a standard for writing .BAT files which can discover the latest installed JRE on the machine?  Are there any Maven plugins for this?  What's the deal with executable Jar files?</p>