[XOM-interest] Installing XOM

Bruce Hyatt bruce.hyatt at gmail.com
Fri Jan 16 19:16:01 EST 2009


Hello. I'm teaching myself Java 6 and a tutorial I'm using uses XOM
and Xerces. My problem is that the installation instructions appear to
be short on details for me.

1) I put xom-1.1.jar in my classpath and tried running the
PrettyPrinter demo to make sure it is working and it returns "could
not find the main class: xom-samples.jar:xom-1.1.jar"
2) Do I need to do anything with the class file in the
classes15/nu/xom directory? What about the data directory?
3) To use xerces do I also place the jar in the classpath?
4) I know I can use the -classpath argument instead of putting the jar
in the classpath. What are the performance implications of having a
lot of entries in classpath?

TIA,
Bruce Hyatt


More information about the XOM-interest mailing list