This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: running saxon on commandline, java, solaris


I quote a previous answer:

>> You need a space after the -classpath option keyword, and you need
saxon.jar
>> on the classpath (not the directory that contains it).
>>
>> Mike Kay

i.e. -classpath /home/Install/saxon/saxon.jar

mario


> -----Original Message-----
> From: Sakaama Heesakkers [mailto:sakaama@uba.uva.nl]
> Sent: Monday, October 08, 2001 5:21 PM
> To: xsl-list@lists.mulberrytech.com
> Subject: Re: [xsl] running saxon on commandline, java, solaris
> 
> 
> Thanks for the answer. Alas, it still doesn't work:
> 
> Test-Sun:sakaama:/home/Install/saxon [152]java -classpath 
> /usr/java1.1/lib:/home/Install/saxon com.icl.saxon.Stylesheet 
> world.xml 
> hello.xsl helloworld.html
> Can't find class com.icl.saxon.Stylesheet
> 
> they're all really there:
> 
> Test-Sun:sakaama:/home/Install/saxon [153]ls -l
> total 1252
> -rw-r--r--   1 sakaama  sgml          64 Okt  8 15:35 hello.xml
> -rw-r--r--   1 sakaama  sgml         559 Okt  8 15:35 hello.xsl
> -rw-r--r--   1 sakaama  sgml      623074 Okt  2 16:52 saxon.jar
> 
> another java error?
> 
> 
> At 16:24 8-10-01 +0200, you wrote:
> 
> > > [101]java -classpath/usr/java1.1/lib:. 
> com.icl.saxon.Stylesheet world.xml
> > > hello.xsl helloworld.html
> > > Can't find class world.xml
> >As you will learn, this is a java error. you're missing a space:
> >
> > > [101]java -classpath/usr/java1.1/lib:. 
> com.icl.saxon.Stylesheet world.xml
> >                       ^
> >
> >try:
> >
> >java -classpath /usr/java1.1/lib:. com.icl.saxon.Stylesheet 
> world.xml 
> >hello.xsl helloworld.html
> >
> >--
> >Goetz Bock                                              IT Consultant
> >Dipl.-Inf. Univ.
> 
> -- 
> Sakaama Heesakkers, Database/SGML/CGI developer
>    Digitaal Productiecentrum, Universiteitsbibliotheek, UvA
>      http://www.uba.uva.nl/dpc * http://logos.uba.uva.nl * Oh, Essex!
>        'Zorgen moet je doen, niet maken' -Loesje # use Disclaimer 
> qw(:standard);
> 
> "I have told my sons that they are not under any 
> circumstances to take part 
> in massacres, and that the news of massacres of enemies is 
> not to fill them 
> with satisfaction or glee." - Kurt Vonnegut Jr.
> 
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 
> 

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]