Make sure you are including all the relevant JAR files in your classpath when you run the code. If you're still having problems, post a copy of the compiler's error messages. That will help us to work out what's going on. Regards, David Peterson
Joined: Dec 03, 2003
Thats the "tricky" part "package org.apache.xerces.parsers does not exist" it the compiler error.
I cant mange to add the jars to my classpath. How do i do it? Create a enviroment variable called "CLASSPATH" and value "C:\myJarFiles\xercesImpl.jar;C:\myJarFiles\xmlParserAPIs.jar;" or is it more to it?
I dont got any classpath i just copied the jar-files to the jre\lib\ext-folder. So I can compile it. Now its working, but not my CLASSPATH.. Its strange. If I remove the jar-files from the ext-folder, then it wont work. This is how my CLASSPATH looks like ".;C:\java\xerces-2_6_0\xercesImpl.jar;C:\java\xerces-2_6_0\xmlParserAPIs.jar", and Im using WinXP. [ February 16, 2004: Message edited by: Je Th ]