Hi, If I use URLClassLoader to load a class then do I need all other dependent jars in the classpath to invoke the class.getDeclaredMethods()? would it be throwing an exception if I don't include the jars, that my class is dependent on, in the classpath. Thanks.
Thomas Smets
Ranch Hand
Joined: Dec 11, 2001
Posts: 111
posted
0
Andy, could you reformulate ? I really don't understand what you want ! Thomas,
Thomas Smets
Just another developper
Steve Deadsea
Ranch Hand
Joined: Dec 03, 2001
Posts: 125
posted
0
It would most likely throw a ClassNotFoundException if the jar files that contain the classes are not present.
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.