Java: Cannot find package folder path
<p>I have a project with the following package set up:</p>

<pre>
-src
   -Interface
   -Resources
      -images
</pre>

<p>I want to find the path to the Resources package folder. 
By using <code>getClass().getClassLoader().getResource()</code>, I am able to get to the images in the images folder but I also want to get the path for the folder Resources. As I do not know exactly what files will be there it is not possible to look for a determined resource. I am using the JFileChooser to enable the user to select the file, and the aim is to set the default directory to open in the Resources directory.</p>

<p>It works properly when running the project from NetBeans, but when I run the dist executable jar it does not find it as the path returned goes through the jar file. Any idea how to solve this situation?</p>

<p>So... I have been able to find the path returned whenever the project runs in Netbeans and when I run the dist jar. Follows the paths returned:</p>

<p><strong>netbeans:</strong> <em>"Scheduler/Resources/"</em></p>

<p><strong>dist:</strong> <em>"Scheduler/Scheduler.jar!/Resources/"</em></p>
