I want to bundle a JRE inside my executable JAR, so that the exe can run on any system.
I have tried Launch4j, but that approach requires me to ship both the JRE and the
Late better than never. I used maven-shade-plugin in the pom.xml as follows:
maven-shade-plugin 2.4.3 ${mainClass} false *:* META-INF/*.SF META-INF/*.DSA META-INF/*.RSA *:* sun/misc/** package shade