How to read file with different canonical paths
<p>I am making an java application which reads a file from a particular location. The location of the file is in the folder retrived from </p>

<pre><code>getCanonicalPath(). 
</code></pre>

<p>The problem i am facing is that when i am running my application in Eclipse the canonical path is different from the one which Dr Java sees. So, what should i do before delivering my application to the client to make sure that it sees the file no matter which ide/command prompt is used to run the application. Obviously it would not be a good idea to copy the same file across all possible folders to cover different possibilities of getCanonicalPath. </p>

<p>Thanks </p>
