I created a java app with netbeans. And, I use sqlite database this like.
Class.forName("org.sqlite.JDBC");
Connection con = DriverManager.getConnection("jdbc:sqlite:mydatabase.db");
This is my application files in "dist" folder when I was build project with right click.
dist\myapp.jar
dist\mydatabase.db
dist\lib\sqlite-jdbc-3.8.11.2.jar
Driver file "sqlite-jdbc-3.8.11.2.jar (~5mb)" in lib folder. I don't want to transport this file everytime. I want to use this file in "C:\Sqlite\". How can I do that.
Thanks for helping.. (Sorry my English grammar)
Aucun commentaire:
Enregistrer un commentaire