importing problem

Hi,I want to use these classes in my program. What should i do exactly?org.apache.xerces.dom.DocumentImpl;org.apache.xml.serialize.*;Do you have any idea?
[189 byte] By [iozturka] at [2007-11-27 10:02:43]
# 1
Include the jarfile that contains them on your classpath and then add the word "import" to front of each of those lines above.
masijade.a at 2007-7-13 0:37:06 > top of Java-index,Java Essentials,New To Java...
# 2
hii trid what you said but it didnt work. compiler says "package org.apache.xml.serialize does not exist"
iozturka at 2007-7-13 0:37:06 > top of Java-index,Java Essentials,New To Java...
# 3
Then you haven't included the right jarfile. You missed one somewhere.Edit: Or, you've misspelled the package so that it really does not exist. ;-)
masijade.a at 2007-7-13 0:37:06 > top of Java-index,Java Essentials,New To Java...
# 4
Which jars are you adding? I think org.apache.xml.serialize.*; is in xercesImpl.jar
ita6cgra at 2007-7-13 0:37:06 > top of Java-index,Java Essentials,New To Java...
# 5
i added serializer.jar and xercesImppl.jar
iozturka at 2007-7-13 0:37:06 > top of Java-index,Java Essentials,New To Java...
# 6
i hope i dont have any problems with adding it to classpath. i add thee directory of jar file to the classpath by clicking environment variables.is there something wrong?
iozturka at 2007-7-13 0:37:06 > top of Java-index,Java Essentials,New To Java...
# 7
Ok... so forget setting the CLASSPATH... compile at the command line using the -classpath argument to javac This is better in the longterm anyway... otherwise your CLASSPATH just keeps growing and growing... until the classloader starts causing "Out of stackspace" errors ;-(
corlettka at 2007-7-13 0:37:06 > top of Java-index,Java Essentials,New To Java...
# 8
It's main reason is always that the jar file is not on class path.If you are using any IDE please check settings for that.The other reason could be the jar file is corupted so please get it downloaded again.
Friend4evera at 2007-7-13 0:37:06 > top of Java-index,Java Essentials,New To Java...