OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: RE: [docbook-apps] Saxon and linenumbering


> -----Original Message-----
> From: Thierry Bothorel 
> 
> Uhm, here is the otput (never used like that) :
> 
>     java com.icl.saxon.StyleSheet linenumbering.xml
> ~/local/lib/docbook-xsl-1.72.0/xhtml/docbook.xsl use.extensions=1
> linenumbering.extension=1 >linenumbering.html
> Exception in thread "main" java.lang.NoClassDefFoundError:
> com/icl/saxon/StyleSheet
> 
> For the CLASSPATH issue with -jar, I already tried :
> 
>    java  -classpath
> ~/local/lib/docbook-xsl-1.72.0/extensions/saxon65.jar:~/local/
> lib/xxe-std-3_5_2/bin/saxon.jar:
> -jar ~/local/lib/xxe-std-3_5_2/bin/saxon.jar linenumbering.xml
> ~/local/lib/docbook-xsl-1.72.0/xhtml/docbook.xsl use.extensions=1
> linenumbering.extension=1 >linenumbering.html
> 
> with the same result


Don't use the -jar option. Either set the CLASSPATH environment variable (to
contain both saxon.jar and saxon65.jar), or use the -classpath option. In
both cases, supply the full name of the main class, as in your first command
line example above.

See also http://saxon.sourceforge.net/saxon6.5.5/index.html#Installation

/MJ





[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]