Answer the question
In order to leave comments, you need to log in
How to build (package) a JAVA program?
Good afternoon progers. I have a simple desktop application with a simple SQLite database, so when I pack this application into a jar file, it does not see the database. Plz tell me how to properly package such applications?
Answer the question
In order to leave comments, you need to log in
The database cannot be packaged in a jar. It is best to create a new database when starting in a new environment and fill it with initial data from a fixture packaged in a jar.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question