I have a class C that is in a jar file. The class looks for resources in 3 other jar fils. All the jar files are located in the lib directory of an application.
How can I make class C find those jar files? I need to get the URL of the required jars.
SCJD 1.4<br />SCJP 1.4<br />-----------------------------------<br />"With regard to excellence, it is not enough to know, but we must try to have and use it.<br />" Aristotle
Saurabh Deshpande
Ranch Hand
Joined: Aug 09, 2007
Posts: 33
posted
0
hi, i dont think you need to do anything in the code. you simply need to add the jars to the CLASSPATH and it will be taken care of.
let me know if the problem still persits after adding the jars to CLASSPATH
Saurabh Deshpande.
SCJP, SCWCD, SCEA Part 1
Doing Part 2 now....
"The differential equations that describe dynamic interactions of power generators are similar to that of the gravitational interplay among celestial bodies, which is chaotic in nature."