[xsl] ClassPath

Subject: [xsl] ClassPath
From: Arthur Maloney <ArthurM@xxxxxxxxxx>
Date: Thu, 9 Jun 2005 13:18:24 +0100
Hello xsl-list-help,

      My class path as is

  C:\Program Files\Altova\xmlspy\XMLSpyInterface.jar;C:\Program Files\Java\jdk1.5.0_02\bin;C:\saxon84

  Is there a syntax error ?

Using an example from Mike's excellent book

C:\Program Files\jEdit 4.3pre2> java -jar C:\saxon84\saxon8.jar  D:\seipas\OOSAD\SaxonNet\othello.xml D:\seipas\OOSAD\SaxonNet\wordCount.xsl

Works perfectly


C:\Program Files\jEdit 4.3pre2> java -jar saxon8.jar  D:\seipas\OOSAD\SaxonNet\othello.xml D:\seipas\OOSAD\SaxonNet\wordCount.xsl

Gives Error
Unable to access jarfile saxon8.jar
Process java exited with code 1

OR
C:\Program Files\jEdit 4.3pre2> java  net.sf.saxon.Transform  D:\seipas\OOSAD\SaxonNet\othello.xml  D:\seipas\OOSAD\SaxonNet\wordCount.xsl

Gives Error
java.lang.NoClassDefFoundError: net/sf/saxon/Transform
Exception in thread "main" Process java exited with code 1

-- 
Best regards,
 Arthur                          mailto:ArthurM@xxxxxxxxxx

Current Thread