hi! I have the binaryDb.dat file in directory suncertify\db\Data, and the whole file hierarchy in included in the server.jar. using Main-class attribute I try to run server app with this java -jar server.jar textFile.txt but I get the error that the file suncertify\db\Data\binaryDb.dat can not be find. I tried to set the classpath to localtion of server.jar file, but didn't helped.??? appreciate any help mohammad alis
posted 14 years ago
In your path, you need to include yourJarFileName.jar.