I have an Java desktop application which needs to be deployed on client location. But when I create an .exe file using "launchcj" software, it doesn't include all the .jar files from the application. I'm unable to connect to DB. My question is how to include .Jar files and other libraries into an .exe file deployment?
posted 1 year ago
The trick I have seen suggested is to create a jar file which includes all of your dependent jars, and then make THAT jar file executable.
When I searched the web for "launchcj" it wanted to know if I meant "launch4j". Anyway I'd be very surprised if it (whichever of those names is right) didn't have a way of including jar file dependencies. Perhaps have another look through its documentation to see if it does?