Manu Manu - 3 years ago 242
Java Question

how to make single jar file with including all other jar libraries in dist folder

I have created a application . In this application i have doubt that when getting output I need to include "lib"( library folder which includes all supporting jar files) but I need in a single jar files which must be include all supporting jars . is it possible ? I am using netbeans..

Answer Source

You don't tell us what you are using to build your code. I'm going to guess at maven (because I know the answer it it's Maven!). What you need is:


        <!-- Add your other plug-ins here -->

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download