posted 12 years ago
Hello all,
I have a jar file that contains (among other things) a 'main' & 'lib' folder. I have the main-class set to main.Start. For the class-path, I want to reference the lib folder that's inside the jar file. I have lib/xx lib/yy lib/zz and so on. However, it's not recognizing the dependencies when I run it. In Eclipse, it runs fine. If I put ../lib/xx, the jar file references the lib folder that's *outside* the jar file (i.e., aa/dist/jar.jar, it references aa/lib). I want to be able to set the class-path to reference items *inside* it's own jar file. Is there a way to get around this? I've tried a simple jarring of all the jar files for outside the main jar file, but I can't get it working.
Thanks