I understand how to include other needed libraries or outside resources while creating a runnable .jar file in eclipse, but what I don\'t see is an option to also include th
Export to Runnable jar. Open the Runnable Jar with WinRAR. Click Add button, select the src.zip file.
I know this is answer is very late, but for those who still read this:
Eclipse has this option. You probably just did not notice it. I haven't checked since what version, Eclipse Luna has it for sure.
Export --> Jar File
Finish
, but click Next
.Next
twice to get to the Main Class
selection.In the Export --> Jar File
dialog you have the option to incluse source files and resources.
To make runnable a standard Jar File you only need to add/include an appropiate MANIFEST.MF on your own ...