hi all, Probably this is stupid can someone suggest something? The Sun guys can start the FBN application from any directory if they have the classpath set properly.Am having difficulties locating the .db file which i need to specify in the Data constructor.In local mode i make the user select the file, so it's fine but in remote mode, i have a problem since i need to know where .db file is to initialize Data. Is it ok to tell where the .db files need to be kept for the application to work properly.I feel i can make it to work only if the .db file is placed in the directory from where the RemoteServer is started. I'm unable to use the java.io.File class for relative paths. Is there a way of making the code work assuming that .db file will be in a directory suncertify/db. How do i reach /suncertify/db/DBBinaryFile.db from anywhere? karthik.
posted 15 years ago
This is a good question. Even I am looking forward for a correct way to dot it. But I would assume that keeping the db file in the directory from where the RemoteServer is started. Thanks, Raj
SCJP2 2001 84%<br />SCJD2 2003 100%
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads