T
Tom Anderson
Evening all,
I have a program which uses some external libraries, which i have as JARs.
I want to package my program up as an executable JAR. Can i put the
libraries inside the executable JAR somehow?
I believe the answer is no, but i thought i'd ask.
My options, then, are to package my code into a JAR, and then have the
library JARs travel alongside the app JAR, or to unpack the library JARs
and pack all the class files together into one big huge JAR, right?
Well, or write a custom classloader that will load classes from JARs
inside another JAR.
Thanks,
tom
I have a program which uses some external libraries, which i have as JARs.
I want to package my program up as an executable JAR. Can i put the
libraries inside the executable JAR somehow?
I believe the answer is no, but i thought i'd ask.
My options, then, are to package my code into a JAR, and then have the
library JARs travel alongside the app JAR, or to unpack the library JARs
and pack all the class files together into one big huge JAR, right?
Well, or write a custom classloader that will load classes from JARs
inside another JAR.
Thanks,
tom