|
Re: Generated JAR doesn't contain dependent libraries [message #875898 is a reply to message #875888] |
Wed, 23 May 2012 14:07 |
Eclipse User |
|
|
|
Hi,
I'm assuming you are talking straight Java application and not an
Eclipse application. Eclipse applications are different.
That's not standard for Java Apps. Java can't access code from jars
within jars. And it is not normal to break open dependent jars and
extract the contents and put them all into the same jar.
Usually you would deliver all of the jars and put them on the classpath.
Or even better is have your manifest of the top level jar put a
Class-Path in it specifying the dependent jars. Then if there are all in
the same folder then you only need to put the top level jar on the
classpath and the others will be pulled in.
Rich
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05672 seconds