My coworker, Mike, shared this with me. You can find out what jar a class is loaded from.
Class.forName("com.foo.MyClass")
.getProtectionDomain().getCodeSource()
October 14, 2008
Subscribe to:
Post Comments (Atom)
Things I learn in my day-to-day work as a software engineer and in my geeky activities in general.
No comments:
Post a Comment