jQuery in Action, 2nd edition*
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: properties file location
 
Similar Threads
What is this Properties File?
suncertify. properties -- Network / non-networked mode
Properties packaging
Can't find suncertify.properties file
URLyBird 1.3.2 : Configuration Doubt