Re: Access jar files in a library directory in the jar file

2013-06-17 Thread Raja Nagendra Kumar
Hi, http://docs.oracle.com/javase/tutorial/deployment/jar/downman.html If you want to load classes in MyUtils.jar into the class path for use in MyJar.jar. These two JAR files are in the same directory and can't be packaged within MyJar.jar Regards

Re: Access jar files in a library directory in the jar file

2013-06-17 Thread Joe Attardi
Hi Rob, I don't think you can have JAR files inside the JAR file like that. On Mon, Jun 17, 2013 at 6:38 PM, Rob Tanner wrote: > Hi, > > I'm trying to build a runnable jar file that includes several libraries > that are also jar files. My problem is that Java does not seem to be able > to fin

Re: Access jar files in a library directory in the jar file

2013-06-17 Thread Vimil Saju
The JVM won't look into nested jar files for classes.  Eclipse has a FatJar feature that lets you create runnable jars with nested jars within it. for ant I think you can use one-jar. Here is a link  http://one-jar.sourceforge.net/ From: Rob Tanner To: user@ant

Access jar files in a library directory in the jar file

2013-06-17 Thread Rob Tanner
Hi, I'm trying to build a runnable jar file that includes several libraries that are also jar files. My problem is that Java does not seem to be able to find the libraries. I get this message when I try to run the jar file: java -jar LibraryAlmaInterface.jar Exception in thread "main" java.la