title: Export jar (eclipse) while keeping external lib and source files
body: <p>I'm trying to export my java project to be able to send it to a company in order to find a job. I use Eclipse Mars.</p>
  
  <p>I'd like to send them source files, the (.json) file my program works on, an executable jar and the external library i'm using (json-simple-1.1). </p>
  
  <p>I've tried this technique <a href="https://stackoverflow.com/questions/30113535/exporting-a-java-project-as-jar-with-including-java-source-code-and-preserving">Exporting a Java Project as .jar with including .java source code and preserving external libraries dependecies</a>
  but it doesn't work for me, when I try to launch my project I get the following error</p>
  
  <pre><code>&gt;&gt;&gt;java -jar projet.jar
  Exception in thread "main" java.lang.reflect.InvocationTargetException
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
          at java.lang.reflect.Method.invoke(Unknown Source)
          at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:58)
  </code></pre>
  
  <p>If you need more information, just ask me, I'll try to answer.</p>
  
  <p>I'd like to apologize too because my question feels stupid... but I just can't find a solution...</p>
  
  <p>Thank you in advance...</p>