Create a single jar file
Hi
I'm trying to create a single jar file from my project which requires some 3rd part libraries (.jar files too) but I just don't get it.
I'm using Build->Jars for this:
When I choose "Link via manifest and copy files to" for the additional libraries the application works as expected - but I get multiple files.
When choosing "Copy files to" I get only one .jar file with the libraries included, but the application doesn't work anymore.
I tried a different java ide which unpacks the additional libraries inside the new .jar file and the application can be run from a single file. Isn't this possible is in IDEA?
thanks
Please sign in to leave a comment.
Why do you want to package everything in a single jar file?