I am familiar with two ways to create JAR
1)Use Eclipse and export Runnable JAR - quick and easy
2) Use JarOutputStream
. In addition i have to specify manifest , make sure to include all third parties API that I used in my project . These complicated the code .
The advantage of the second method is that it's done programmatically .
I am curious is there any API that would generate JAR as easy as Eclipse does ?
JarFile jarFile = new JarFile ("C:\\ ... myProjectFolder")