title: Java .jar files and dependencies
body: <p>This is something that's probably already been asked, I have no idea. Kinda new at Java. </p>
  
  <p>I wrote a thing in NetBeans on unix. Everything seems cool on the IDE, so I want to compile what I have (Just two .java classes) into a jar so I can run it in other places. I have some compile-time libraries added (other .jars), but when I build my project on NetBeans and run it from the CLI (java -jar thing.jar), it throws a bunch of exceptions like this.</p>
  
  <pre><code>EXCEPTION: Class com.systinet.saaj.soap.SOAP11ProtocolHandler or one of its components not found in root.wasp-impl.SOAP
  ...
  ...
  EXCEPTION: [url]http://systinet.com/wasp/app/security_services_client:security_services_client[/url] -&gt; I couldn't find deployment 
  descriptor (QName="{[url]http://systinet.com/wasp/app/builtin_serialization[/url]}builtin_serialization")of dependant package.
  </code></pre>
  
  <p>Am I missing some sort of dependency when I compile .jars? Should I be placing those libraries in the classpath or throwing some stuff in the command line argument or something? </p>