Subject: Re: running saxon on commandline, java, solaris
From: Joerg Pietschmann <joerg.pietschmann@xxxxxx>
Date: Mon, 08 Oct 2001 18:20:56 +0200
|
Sakaama Heesakkers <sakaama@xxxxxxxxxx> wrote:
> [102]java -classpath/usr/java1.1/lib:. com.icl.saxon.Stylesheet hello.xml hello.xsl > helloworld.html
Apart from missing a space as already noted, you'll have to add the
jar-files itself to the classpath (directories are searched for class
files only, jar files are seen as directories).
Try
java -classpath saxon.jar com.icl.saxon.Stylesheet hello.xml hello.xsl > helloworld.html
This will work at least with Java 1.2 and greater (you are advised
to get and install Java 1.3 ASAP, as this has many advantages).
I'm not sure whether you'll have to add classes.zip to the classpath
explicitely in Java 1.1, if the line above gives you errors, try
java -classpath saxon.jar:/usr/java1.1/lib/classes.zip com.icl.saxon.Stylesheet hello.xml hello.xsl > helloworld.html
HTH
J.Pietschmann
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|
Joerg Pietschmann - Mon, 8 Oct 2001 12:31:23 -0400 (EDT) <=
|
|