J
J
Javist20212021-08-11 09:36:34
Java
Javist2021, 2021-08-11 09:36:34

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

1 answer(s)
S
Sergey Gornostaev, 2021-08-11
@Javist2021

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 question

Ask a Question

731 491 924 answers to any question