To use the endorsed.dirs overrides mechanism, you will need to modify your java command that launches the program to include a system property called "java.endorsed.dirs".
The value of this system property should be the directory where you have the xerces downloaded to, more precisely the directory where the jars xercesImpl, xml-apis and resolver are present. For example : ~/Desktop/xerces-2_8_0 $ ls *.jar resolver.jar xercesImpl.jar xercesSamples.jar xml-apis.jar Now my java cmd is like this : java -Djava.endorsed.dirs=/home/prashant/Desktop/xerces-2_8_0 domls.TestPrettyPrint Hope this helps. -Prashant On Tue, 2007-07-31 at 06:15 -0700, richa wrote: > Hi Prashant, > Thanx for the reply. but i think i'm quite novice to understand that. I'm > using jdk1.5 and i created one folder in lib folder with the name endorsed > and placed xercesImpl and xerces-api jars there. Still the same error is > coming. > i think i'm probably not doing the correct thing. > Can you please guide me how to achieve it. > Thank you > Regards > Richa --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]