posted 22 years ago
I created a jar file for this appln. while running the appln if give a relative path like
jar -jar server.jar lib\db.db
It gives the following error :
java.io.IOException: Data: request to open non-existant or inaccessible file lib\db.db
but if i give the entire path the appln works fine. Do i have to use the db file jared with my jar file or i should give the absolute path for the file pointing to a file located on disk ?
pls respond.