Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

properties file location

 
Pankaja Bansal
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic