In jdeveloper, how do you make 1 jar file out of contents of 2 jar files?
From: <entfred_at_hotmail.com>
Date: 13 May 2005 07:06:11 -0700
Message-ID: <1115993171.826563.34810_at_f14g2000cwb.googlegroups.com>
Does anybody know how to use jdeveloper to deploy all the individual files in 2 jar files into only 1 jar file? This would mean that the user would have less to worry about when receiving a jar file to run. For example, suppose you had
Date: 13 May 2005 07:06:11 -0700
Message-ID: <1115993171.826563.34810_at_f14g2000cwb.googlegroups.com>
Does anybody know how to use jdeveloper to deploy all the individual files in 2 jar files into only 1 jar file? This would mean that the user would have less to worry about when receiving a jar file to run. For example, suppose you had
filea.jar
a.class b.class c.class
fileb.jar
d.class e.class f.class
Is it possible to have
onlyonefile.jar
a.class b.class c.class d.class e.class f.class
Then, when you run onlyonefile.jar, you only have to do this:
java -cp onlyonefile.jar package.Main
If you don't combine the 2 jar files, you have to do this:
java -cp filea.jar;fileb.jar package.Main
You can use winzip, but I would like to have a more automated way of doing this.
Thanks for any tips on doing this in jdeveloper or out of jdeveloper.
- Enfred