i've some trouble with installing jaxp. i've unzipped the sun's zip in c:\jaxp, then copied the .jar files into:\jdk1.3.0_02\jre\lib\ext as written in the install note. But when i try to execute an example i obtain:java.lang.NoClassDefFoundError : javax\xml\parsers\ParserConfigurationException , and this class is in jaxp.jar (i've checked)... HELPPPPPP!!!
[This message has been edited by aude tantot (edited June 01, 2001).]
I did what you suggest, now the error is Exception in thread "main" java.lang.NoClassDefFoundError OMEcho DOMEcho.java is the pgm i'm trying to compile and execute, no error on compiling, th DOMEcho.class is created. that pgm is provided by sun as un example of DOM, so i suppose the code's right.
Ah, that error is because of your DOMEcho.java program, not the jaxp.jar file. Make sure the directory DOMECho.java resides in is a part of CLASSPATH. FYI, not only the jar files, but all the .class files must be reachable ( is there a better word? ) through the CLASSPATH. The ClassLoader in JVM searches for the .class files in the current directory and all the directories in the CLASSPATH. Hope that helps! ------------------ Ajith Kallambella M. Sun Certified Programmer for the Java�2 Platform. IBM Certified Developer - XML and Related Technologies, V1.
Open Group Certified Distinguished IT Architect. Open Group Certified Master IT Architect. Sun Certified Architect (SCEA).