How to use the SQLite database in the jar file?

advertisements

I can't figure out how to include a SQLite database within a Java .jar file for deployment (via Java WebStart).

The database does not need to be updated at runtime... it is essentially a glorified configuration file.

Using Eclipse, by the way.


Another good option to consider could be derby, javadb. It's bundled with java now and is pretty fast to setup and has good performances.

Regards, Stéphane