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 exe. As per my requirements, I should not use an installer to ship, nor extract/install the JRE on the client machine.
How do I put a JRE inside a JAR and make use of it?