title: error while opening pdf files from jar folder
body: <p>I am making a Software in whihch I have to display the pdf files. I have stored the pdf files in my project folder. The software runs perfectly fine. </p>
  
  <p>But when I cleand and build the project and then i run my jar exe file the pdf files doesnt open. </p>
  
  <p>After some experiments I included my pdf files in SRC folder and then clean and build the project. The difference i found is that now the jar file is bigger in size  ( it equals to sum of all the pdf files) , I thought that this time it would work . But it didnt work. </p>
  
  <p>Then After more experiments I included all the files in the Dist folder.</p>
  
  <p>Then The jar files can open the pdf files :) , I was happy but not satisfied, Since I only have to create a jar file and seeing all the pdf files in the project folder with one jar files looks really awkard and senseless, is thier anyway i can open the pdf files using only the jar file without copying the pdf files in the folder where my jar file is stored, . This is the code i used to open a file named "aleemullah resume". </p>
  
  <pre><code>try{
      Runtime.getRuntime().exec("rundll32 url.dll,FileProtocolHandler " + "aleemullah resume.pdf");
  }
  catch (Exception e) {
          JOptionPane.showMessageDialog(null, "Error");
  }
  </code></pre>