[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

LotusXSL and XML4J installation on Linux


Subject: LotusXSL and XML4J installation on Linux
From: Cheun N Chong <cnc99r@xxxxxxxxxxxxxxx>
Date: Thu, 13 Apr 2000 11:11:19 +0100 (BST)

Hi

	Thousand thanks for your help. I really appreciate that. You
really have helped me a lot. However still the problem is not fully
solved. I have used the following script to try:

 java -classpath
.;/home/cnc99r/xml/XML4J_3_0_1/xerces.jar;/home/cnc99r/xml/lotusxsl_1_0_0/lotusxsl.jar;/home/cnc99r/xml/lotusxsl_1_0_0/xalan.jar
./com.lotus.xml.xml4j.ProcessXSL $*

	As you taught me. The error message I got:

Usage: java [-options] class [args...]
           (to execute a class)
   or  java -jar [-options] jarfile [args...]
           (to execute a jar file)

where options include:
    -cp -classpath <directories and zip/jar files separated by :>
              set search path for application classes and resources
    -D<name>=<value>
              set a system property
    -verbose[:class|gc|jni]
              enable verbose output
    -version  print product version
    -? -help  print this help message
    -X        print help on non-standard options
/home/cnc99r/xml/XML4J_3_0_1/xerces.jar: Permission denied.
/home/cnc99r/xml/lotusxsl_1_0_0/lotusxsl.jar: Permission denied.
/home/cnc99r/xml/lotusxsl_1_0_0/xalan.jar: Permission denied.


	I think I have to change the mode of all the jar files using
chmod. However I am not sure why it printed out the help options. Thosuand
thanks again for your kindness.

	Wish you all the best.



On Tue, 11 Apr 2000, Jim Michael wrote:

> A couple of possible errors: use ; not : to separate the classpath paths.
> Also, I don't recall if you have to put ./ in front of your
> com.lotus.xml.xml4j.ProcessXSL as in ./com.lotus.xml.xml4j.ProcessXSL, try
> it.
> 
> > -----Original Message-----
> > From: Cheun N Chong [mailto:cnc99r@xxxxxxxxxxxxxxx]
> > Sent: Tuesday, April 11, 2000 8:15 AM
> > To: XSL-List@xxxxxxxxxxxxxxxx
> > Subject: LotusXSL and XML4J installation on Linux
> > 
> > 
> > Hi
> > 
> > 	I am really frustrated here. Please help me. I am not 
> > sure how to
> > set the classpath in Linux (which is running on LAN 
> > workstation). I have
> > tried the following script:
> > 
> > java -classpath
> > .:/home/cnc99r/xml/XML4J_3_0_1/xerces.jar:/home/cnc99r/xml/lot
> > usxsl_1_0_0/lotusxsl.jar:/home/cnc99r/xml/lotusxsl_1_0_0/xalan.jar
> > \ com.lotus.xml.xml4j.ProcessXSL $*
> > 
> > 	But it returns error:
> > 
> > Exception in thread
> > "main" java.lang.NoClassDefFoundError:  com/lotus/xml/xml4j/ProcessXSL
> > 
> > 	I am pretty sure that the xerces.jar, lotusxsl.jar and xalan.jar
> > are all in the correct directories. Please help me. Thousand thanks.
> > 
> > 
> > 
> > Best regards,
> > Cheun Ngen CHONG
> > 
> > 
> > 
> >  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> > 
> 

Best regards,
Cheun Ngen CHONG




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



Current Thread