1 Reply Latest reply: Mar 1, 2010 12:24 AM by 793415 RSS

    Including a jar file inside an executable jar file

    843804
      Is it possible to include a jar file inside another (executable) jar file such that the included file is part of the class path for the outer file? If so, how do you specify this in the classpath in the manifest?
        • 1. Re: Including a jar file inside an executable jar file
          793415
          Russ_Bjork wrote:
          Is it possible to include a jar file inside another (executable) jar file such that the included file is part of the class path for the outer file?
          No. Actually, I suppose it would be possible if you do all the 'heavy lifting', but Java is not designed to handle Jars within Jars.

          What do you see as the advantage of doing that?
          ----------------------------
          Is your app. a rich client (e.g. Swing, AWT, SWT..)?
          Can you distribute the app. from a server or the internet?