Hello, I'm trying to finish my scjd work. but I've got a problem.... while I make a jar file to submit, my program cannot make a RandomAccessFile object the database file.
I searched some articles about how to make a input stream.. but I have to know how to make output,, and... moreover... I wonder if it is possible to make a RandomAccessFile to database file..
Hi I am facing the same problem with RAF, which is what I am using for reading and writing to the db file. I am not able to get it work with my file in the runme.jar. Any reason why you didnt have to do this? Thanks! Ashish
Originally posted by Ashish Rajput: Hi I am facing the same problem with RAF, which is what I am using for reading and writing to the db file. I am not able to get it work with my file in the runme.jar. Any reason why you didnt have to do this? Thanks! Ashish
Hi,
your database file is located beside runme.jar, not inside. The database file can thus be accessed without looking in the jar, but simply in a normal directory.
Regards, Alex [ September 13, 2008: Message edited by: Alex Belisle Turcot ]
WHAT is your favorite color? Blue, no yellow, ahhhhhhh! Tiny ad:
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earth