File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes Which jars am I using Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Which jars am I using" Watch "Which jars am I using" New topic
Author

Which jars am I using

Warren Bell
Ranch Hand

Joined: Dec 20, 2000
Posts: 56
I have a situation where a web application works on one machine and not another. I have narrowed the problem down to the application on one machine using a different jvm and or jars than the other.

I have the jvm straightened out, but I am having a hard time narrowing down what version of a particular jar is being used, especially on my development pc where I have many different versions of the same jar. I have tried to get all but the one jar I need out of the classpath, but that hasn't helped.

Is there a way to figure out which jars a program is using or where the program is looking for jars?

Thanks,

Warren
Bauke Scholtz
Ranch Hand

Joined: Oct 08, 2006
Posts: 2458
Originally posted by Warren Bell:
Is there a way to figure out which jars a program is using or where the program is looking for jars?

Try this:
 
Don't get me started about those stupid light bulbs.
 
subject: Which jars am I using
 
Similar Threads
jdbc objects in different JVM's
How many jars to use at the maximum for a swing deployment
How to check classpath, installed by JDK, in Windows XP?
How to create jar file for application using JNI?
referencing jars from a jar