Re: DOCBOOK-APPS: saxon

From
madhu Maddy <>
Date
2001-05-26T10:57:03+00:00
ID
20010526162640.1498@needaguru
Thread
Re: DOCBOOK-APPS: saxon
Hello

> At 08:59 PM 5/25/01, Kunath, Marcel wrote:
> 
> >I was trying out an example but it gave me this error:
> >
> >F:\saxon\samples>java com.icl.saxon.StyleSheet data\othello.xml
> >styles\play.xsl
> >dir=playhtml
> >Exception in thread "main" java.lang.NoClassDefFoundError:
> >com/icl/saxon/StyleSheet
> >
> >It says to add the directory to the classpath. God knows what this means
> >under Windows. I added 
> >f:\saxon to the System PATH variable. Doesn't help.
> 
> Nearly, not quite.
> 
> try java -classpath F:\saxon\saxon.jar -o file.html com.icl.saxon.StyleSheet data\othello.xml 
> 
alternatively try

set CLASSPATH=F:\saxon\saxon.jar

and then

java  F:\saxon\saxon.jar -o file.html com.icl.saxon.StyleSheet data\othello.xml 

this will set the CLASSPATH for the session to saxon.jar 
> 
> HTH DaveP
> 
> 

regards

have fun but do take care

maddy