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

------------------------------------------------------------------
To unsubscribe from this elist send a message with the single word
"unsubscribe" in the body to: [EMAIL PROTECTED]

Reply via email to