For those who get the below runtime error when attempting to run from
console using "java -Xmx1024M -jar jAudio.jar"
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/xerces/parsers/SAXParser
at
jAudioFeatureExtractor.ACE.XMLParsers.XMLDocumentParser.parseXMLDocument(XM
LDocumentParser.java:72)
at jAudioFeatureExtractor.DataModel.<init>(DataModel.java:168)
at jAudioFeatureExtractor.Controller.<init>(Controller.java:248)
at jAudioFE.main(jAudioFE.java:26)
The problem is: not only do you need JRE installed but you must also have
Xerces-j installed as well. To do this get the xerces release from
http://xerces.apache.org/xerces-j/ and add the .jar files within to your
CLASSPATH environment variable. A tutorial can be found at:
http://www.cse.lehigh.edu/~heflin/courses/sw-2003/xerces-trouble.html
The reason I put this in the bug section is because it will appear to be a
bug to anyone who finds it (like I did a couple hours ago) and hopefully
they will look here for the answer. Perhaps this information should be
added to the install directions?
Thanks for the program!
Nobody/Anonymous
None
None
Public
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use