Skip to main content

Property file

No replies
Joined: 2009-10-06

Hi All,

I am novice to java programming. I had developed 3 class and exported those class as jar. One of those class has dependency on a property file. I am putting the property file in same folder as of jar file. And in code I am just giving the property file name. However, at run time it is unable to find the property file and throwing FileNotFoundException.

I also tried to maintain the class path in file and put the property file there and getting same exception.

Can anyone help me out how to achieve this?


Message was edited by: samiullah