I have added some external libraries to my java project (in netbeans).
Is it possible to put the external jar library to the java archive (and not to put them into a separate (for example) “lib” directory)?
I have added some external libraries to my java project (in netbeans). Is it
Share
Of course you can. There are a few open source projects that can be downloaded with a “bundle jar” that contains all the dependencies.
You need to extract all the jars and then jar them again to one file.
An example of doing this with Ant can be seen here.