I have built a program in NetBeans, it creates myprogram.jar file but also creates folder named lib which includes JavaMail’s mail.jar file. So I want to send that program to my friend without having to send him lib folder and telling him to put them together. So is there any way I can add all that in single .jar file? Thanks.
I have built a program in NetBeans, it creates myprogram.jar file but also creates
Share
So I found this kind of solution, which was wery easy to understand, doesn’t include any other program than NetBeans and which worked excellent for me. Here is the link: http://javanepal.wordpress.com/2009/09/15/merging-jar-files-to-single-jar-via-ide-netbeans-6-7/