View Single Post
Old 01-03-2012, 06:22 PM   PM User | #3
Apothem
Regular Coder

 
Apothem's Avatar
 
Join Date: Mar 2008
Posts: 380
Thanks: 36
Thanked 25 Times in 25 Posts
Apothem is an unknown quantity at this point
Yes the classpath for that jar is relative. It's weird, though.

If I change to class path of the included jar to an absolute path to that included jar (D:\path\to\jar\theirJar.jar) it then get the error that a class from myJar.jar (the main class) cannot be found. If I don't place the absolute path, it is found but fails at running because theirJar.jar cannot be found.

I currently want that jar in the D: drive. Plus I want to solve the error instead of doing something to avoid it.

Last edited by Apothem; 01-03-2012 at 06:25 PM..
Apothem is offline   Reply With Quote