Re: [jarp-user] the install doesn't work....
Brought to you by:
ricardo_padilha
From: Ricardo S. P. <pa...@da...> - 2002-12-14 01:25:27
|
Hi, Bruno Guerraz afirmou: > [golden:~/Desktop/JARP/Jarp-1.1.12] guerrabr% java -jar jarp.java Here the problem is that you typed "jarp.java" instead of "jarp.jar", which would be the correct syntax. > [golden:~/Desktop/JARP/Jarp-1.1.12] guerrabr% java -cp jarp.jar But this works too, so no trouble. > --------- UNCAUGHT EXCEPTION --------- > java.lang.NoClassDefFoundError: org/w3c/dom/Node I suppose you are not using a JDK 1.4, right? This happens to everyone using a JDK 1.2 or 1.3, because older versions than 1.4 do not include an XML parser therefore this exception is throwed. What you can do is to place those jar files in your classpath as well: http://gump.covalent.net/jars/latest/xml-xerces2/xmlParserAPIs.jar http://gump.covalent.net/jars/latest/xml-xerces2/xercesImpl.jar That should solve the problem. Those libraries are only required if you intend to use PNML as a file format for your files. The other file formats do not depend on it. Regards, Ricardo |