Re:Packr – Packages Java apps for distribution on Windows, L...
by BHSPitMonkey on Monday May 05, 2014 @04:49AM
(#7697554)
The difference between this being that normally you're only linking specific libraries that you need, instead of an entire runtime and standard library. There's a lot of potential energy hiding in each of these packages.
The biggest attack surface for Java is from the web, so that should limit the disadvantages of embedding a JVM. So long as you aren't using your embedded JVM to load external code, you should be okay.