posted 21 years ago
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.