0 Replies Latest reply on Oct 17, 2012 4:21 PM by 929890

    Create a JAR including third party JARS

      How can I export my project into a JAR file also including the third party JARs being used from my application (project)?
      I think Eclipse does not support this, does it?
      The problem is, that when I export my project into a JAR and then manually put the required JARs into the JAR using WinZip I do get such an Exception:

      java.lang.NoClassDefFoundError: oracle/ucp/jdbc/PoolDataSourceFactory

      In my project I have a class (Runner.java) with a main method which the user can invoke from command line. Furthermore I have a GUI also with a main method which internally invokes Runner.java. How can I start either of themain methods/classes both in the same JAR?

      Thank you.