Hi,
My application has a command line interface and it is packaged into a .jar file. In my application, I use Log4J for logging. I have placed the log4j.xml at the same directory where the .jar file is kept and it works fine.
D:\Development\Filehandler\dist\...
But, when I call the .jar file from some other directory, for ex: C:\, it throws error as FileNotFound for the log4j.xml file. The reason for calling from some other location is, this jar file will be used by PHP. The PHP script will call the .jar file from some other location.
Please guide me in solving this issue....