How to copy one jar inside another



Hi all. This is likely a repeat of an earlier question, but my Google foo is weak and I can't find what I'm looking for.

I want to create a Java application that uses an external library (a ..jar that isn't in the default JRE), but I don't want to have to ask the user to fiddle with adding other .jars to the class path, and I don't want to take the time to set-up any kind of installer (Web start, etc.)

What's the best way of doing this?

I seem to remember someone mentioning a utility that would copy all classes used in various .jars into file one file so that they could be all used together, but I can't locate any. Any help/pointers much appreciated.
.



Relevant Pages

  • Re: OT DREYERS AND BREYERS
    ... I knew that about Hellmans and Best Foods. ... The jars are the same ... I dont understand it either. ... What you are mentioning about the marshmallow fluff, ...
    (alt.support.diabetes)
  • Re: start java programs from windows?
    ... > jars as executable just by mentioning their names on the command line. ... I learned now how jar files work and have exported one with ...
    (comp.lang.java.help)