- From: Jim Flanagan <jim.u.flanagan@gmail.com>
- Date: Wed, 7 May 2008 12:40:20 +0200
- To: www-validator-css@w3.org
Hi, I've downloaded what I believe to be all the prerequisite jars for the latest pre-compiled css-validator.jar: $ tree /usr/local |-- css-validator.jar |-- jigsaw.jar |-- servlet-api.jar |-- tagsoup-1.2.jar |-- xercesImpl.jar `-- xml-apis.jar and have tried to run the usage example from http://jigsaw.w3.org/css-validator/DOWNLOAD.html: $ cd /usr/local $ java -classpath /usr/local -jar css-validator.jar http://www.w3.org/ but get the following error: Exception in thread "main" java.lang.NoClassDefFoundError: org/w3c/tools/resources/ProtocolException suggesting that it's not finding the jigsaw.jar file I'm running: $java -version java version "1.5.0_13" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_13-b05-241) Java HotSpot(TM) Client VM (build 1.5.0_13-121, mixed mode, sharing) I've tried this on both Mac OS X 10.4 and on Ubuntu 8.04 (java version is also 1.5) but get the same error message. I've also tried this with a $CLASSPATH environment variable without success. Does anyone with more Java experience than I have any ideas please? Thanks in advance, Jim
Received on Wednesday, 7 May 2008 15:41:56 UTC