Packaging JVM with Application While Maintaining an Automated and Repeatable Build Process <p>I'm currently working on a project that requires us to package a JRE with our application. I'm normally against this as it makes keeping the JRE patched quite difficult, but in this case it is necessary.</p> <ul> <li><p>What are the best practices for packaging a JRE with an application as part of an automated build process?</p></li> <li><p>Where do you normally store the JRE files so that they can be picked up by your build process? Shared file server? What about making it an artifact in your maven repo?</p></li> </ul> <p>Just trying to get a feel for what people do in this situation.</p>