I made a code that connects to my sqlite
driver which is in the CLASSPATH
and reads some database file. I want to create an executable which can be used on computers that don't have the sqlite
driver.
If I do:
jar cvfe exec.jar main_class
I will get "class not found: org.sqlite.JDBC" when running with
java -jar exec.jar
What should I do to make the executable work?
Edit: I don't know if it makes any difference, but this is the JDBC driver I use: