« Return to Thread: Combine all the jar into one JAR

Re: Re: Combine all the jar into one JAR

by Fabrizio Giudici :: Rate this Message:

Reply to Author | View in Thread

Remember that merging JARs can be explicitly prohibited by some  
licenses. For instance, I believe that this practice is prohibited by  
GPL and LGPL.

On May 8, 2008, at 6:41 , Richard Ivarson wrote:

> Eric Chow wrote:
>> Hello,
>> Is there any function in NetBeans 6.1 to combine all the JAR library
>> into one JAR?
>
> Interesting question: unfortunately I don't know.
>
> Manually, you could unpack all your JARs to the same folder, and  
> than JAR/ZIP the contained files to one JAR file.
>
> But of course this is not comparable to NB's helpful automatic JAR  
> file generation...
>
> -Richard
>
>

--
Fabrizio Giudici, Ph.D. - Java Architect, Project Manager
Tidalwave s.a.s. - "We make Java work. Everywhere."
weblogs.java.net/blog/fabriziogiudici - www.tidalwave.it/blog
Fabrizio.Giudici@... - mobile: +39 348.150.6941


 « Return to Thread: Combine all the jar into one JAR