Subject: Re: java, xalan-j and XSLT
To: Gan Uesli Starling <alias@starling.us>
From: Al Urbaitis <avu@lanl.gov>
List: netbsd-help
Date: 03/03/2003 13:38:32
On Monday, March 3, 2003, at 01:25 PM, Gan Uesli Starling wrote:

> Have installed /usr/pkgsrc/textproc/xalan-j
> and now am trying to do...
>
> java org.apache.xalan.xslt.Process -in howto.xml \
> -xsl howto.xsl -out howto.html
>
> ...and I got...
>
> java: Command not found.
>
> ...so I tried this path to java...
>
> /usr/pkg/java/jdk-1.1.8.bin/java \
> org.apache.xalan.xslt.Process \
> -in howto.xml -xsl howto.xsl -out howto.html
>
> ...and I got...
>
> Can't find class org.apache.xalan.xslt.Process
>
Not sure if this helps but...
it doesn't know where "org.apache.xalan.xslt.Process"
is...

Or more directly it thinks this is a "n.class" program
and that "org.apache.xalan.xslt.Process.class" is
not in the current working directory or in the currently
used classpath...

Al