Question

I have a Java Application (allows people to enter in sales). It is connected to a Derby Database. The app was developed using NetBeans IDE. I need to convert this app to a .exe for distribution. Normally I would use Launch4j for this, but since the app is linked to the Derby DB will it still work? If not is there another way to turn the app into a .exe file?

Was it helpful?

Solution

Your application will work the same way as it did before. You should note that "conversion" to .exe is not really a conversion, it just provides a convenient way of executing the java program in Windows (much like a run-able JAR file).

In case you run a Derby server, it will connect to that server the same way as before. However if you are running Derby in embedded mode, you should make sure the database files will be located at correct path in the filesystem (you shouldn't archive the Derby files in your .exe)

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top