aspose file tools*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes properties file location Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "properties file location" Watch "properties file location" New topic
Author

properties file location

Pankaja Bansal
Greenhorn

Joined: Feb 16, 2006
Posts: 19
Hi

This might sound like a stupid question, but this is what my specification says


All configuration must be done via a GUI, and must be persistent between runs of the program. Such configuration information must be stored in a file called suncertify.properties which must be located in the current working directory.


Now, when I store the properties file in my runme.jar file, it works fine but when I keep it outside runme.jar it doesn't find the properties file. Could any one please tell me what might be wrong and how can I access a file outside my jar file.

Thanks

PB
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: properties file location