This content has been marked as final. Show 2 replies
You can put the 3rd party jar(s) in the same directory (or possibly a near-by directory) as your jar file and you include a Class-Path entry in your jar's manifest that provides the 3rd party jar name(s). This is the approach that seems to be what Sun/Oracle had in mind.
Instead of using an executable jar, you can use a command line or batch file and include the 3rd party jar(s) in the Classpath.
You can extract everything from the 3rd part jar(s) and re-jar into your jar. Bear in mind that you may violate a license agreement if you do this.
There are tools that can read jars inside of jars. Google can help you find these. I am not familiar with any of them.