Project is to create exe file. If we run exe file it will open one admin page (designed in Swing) that page contains browse button, max install, max install sys, and create build, while click the browse button we need to select one exe file from system and that file need to save it inside one folder of jar file. The maxinstall, max install sys value is stored in SQL lite database. This admin page will open for first time only,to get condition from admin. Next if we run the exe file it must check maxinstall and all parameter and then install that selected exe file.
My problem is, I created jar from my java program. While running the jar each time, the admin page only opening (i.e) the database file is not updated inside jar, but its works fine in eclipse. After that I need to create jar to exe.
Once an executable
.jaris created it will be "locked". I you add more files to a locked.jar, those files will not be recognized internally by the.jaritself at runtime. So, the better approach is to extract your dependent.jarand then add it to a new, executible.jarcontaining the new file(s) that you need. Then moving forward you can run this new.jar.