I have an executable Jar file. This jar extracts a tar file and provides a Jar and an empty configuration file. My executable Jar populates the empty configuration file and calls the main method of extracted jar. The called main method looks for the configuration file in class path. Now the problem is the populated configuration file is not in the class path, instead its in some other directory.
How can I place it to class path and make sure it is loaded properly and accessible to the extracted jar?