wood burning stoves 2.0*
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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:
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Which jars am I using