maitreya
March 5th, 2006, 09:43 AM
RandomAccessFile inFile;
inFile = new RandomAccessFile(textfile, "r");
Packaging the application into a jar file with the textfile. However running the jar file gives the error of "file not found". It seems that it tries to find the file outside the jar package. Any idea on how to fix this.
inFile = new RandomAccessFile(textfile, "r");
Packaging the application into a jar file with the textfile. However running the jar file gives the error of "file not found". It seems that it tries to find the file outside the jar package. Any idea on how to fix this.