Hi,
I have a library in a jar file that has this:
10230 Mon Dec 11 00:23:48 MST 2006 com/sun/syndication/io/XmlReader.class
1692 Mon Dec 11 00:23:48 MST 2006 com/sun/syndication/io/XmlReaderException.class
I compile a program, that has this line in it:
XmlReader reader = null;
It compiles into a class with no complaints
javac -cp ./rome-0.9.jar:./jdom.jar Reader.java
However, when I run it:
java -cp . Reader
Exception in
thread "main" java.lang.NoClassDefFoundError: com/sun/syndication/io/XmlReader
so is it expecting access to the jar file at run time? (I thought jar files get compiled into the class)
Thanks
Brian