Hello,

 I'm new to Xerces and have some background in Java.

 I'm having problem running the command line samples

 abhishek@:xerces-2_7_1$ java  dom.Counter -s -f -v %1
 Exception in thread "main" java.lang.ClassFormatError: dom.Counter
 (unrecognized class file version)
   at java.lang.VMClassLoader.defineClass(libgcj.so.70)
   at java.lang.ClassLoader.defineClass(libgcj.so.70)
   at java.security.SecureClassLoader.defineClass(libgcj.so.70)
   at java.net.URLClassLoader.findClass(libgcj.so.70)
   at gnu.gcj.runtime.SystemClassLoader.findClass(libgcj.so.70)
   at java.lang.ClassLoader.loadClass(libgcj.so.70)
   at java.lang.ClassLoader.loadClass(libgcj.so.70)
   at gnu.java.lang.MainThread.run(libgcj.so.70)
 abhishek@:xerces-2_7_1$

 Could someone illustrate how to run these samples !!
 Is there a tutorial/quick-start  for the same ?
 
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

 I downloaded source, tools, tests from svn and tried a build of the same

 build.sh tests
 build.sh jars

 it builds fine.

 following are env variables

 abhishek@:xerces-2_7_1$ env | grep -i java
 LOCALCLASSPATH=/usr/lib/jvm/java-6-sun-1.6.0.00/lib/tools.jar:.
 JAVA_HOME=/usr/lib/jvm/java-6-sun-1.6.0.00
 JAVA_FONTS=/usr/share/fonts/truetype
 
CLASSPATH=.:/home/abhishek/Desktop/xerces-2_7_1/tools/xercesImpl.jar:/home/abhishek/Desktop/xerces-2_7_1/tools/xml-apis.jar:/home/abhishek/Desktop/xerces-2_7_1/build/xercesSamples.jar:/usr/share/java/xmlParserAPIs.jar
 abhishek@:xerces-2_7_1$

 bye

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to