How can I distribute my application jar with JRE? I make my executable jar in exe by using launch4j
.
My application is a desktop based swing application. I want to make it like an application that if the user has no JRE installed, they can use it by using the embedded JRE. I give JRE with the application and use it. Uninstallation of the application and JRE will uninstall like games.
I understand that if I give the pre-installed JRE with my application, it will happen. I also see the tab JRE in launch4j
, but I do not understand which path I will give. This link I also see, but there is no procedure or helpful link is given where the total procedure is defined clearly.
Please give some definite answer. I will prefer if your answer is based on launch4j
.