Now I am packaging my classes to a jar file. But there is a problem puzzling me. It is about accessing db.db file and image files.
When I am editing my file with JBuilder. I access db.db with file path. Just like this:
, the db file is located in the path of class files. the relation in file system is just like this:
\---db.db
\---suncertify
\------server
\------client
The code can locate db file without any problem.
But when I package all classes and db file to a jar file in the same architecture, the problem complain that it can not locate db.db file. But it is exactly in the same package.
What can I do? Please help me.