title: Java application does not work properly outside IDE
body: <p>When I run it with IntelliJ Idea - it works completely right. When I run app.jar file from output - everything works good too, but one feature, which is supported by supportLib.jar. I get <code>java.lang.NoClassDefFoundError: sun/plugin/dom/exception/InvalidAccessException</code> when use it.
  The structure of the output is:</p>
  
  <pre><code>| D:\myprogram\
  
    |
    ---&gt; app.jar 
    |
    ---&gt; lib\  
          |
          ---&gt; supportLib.jar
          ---&gt; anotherSupportLib.jar
  </code></pre>
  
  <p>The ClassPath is: <code>lib/supportLib.jar lib/anotherSupportLib.jar</code></p>