xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Pogue <mpo...@apache.org>
Subject Re: LotusXSL and XML4J installation on Linux
Date Thu, 13 Apr 2000 16:05:34 GMT
Perhaps your Java doesn't understand "-classpath", and it treats it instead
as "-c -l -a -s -s -p -a -t -h", which includes the "-h" option (please
print help out on the console).

Check out the man pages for whatever Java you are using.  It might be
something else like "-cp"....

You gotta get at least on Java program running, before you tackle something like
Xerces.  (Try some of the Java sample programs first, for example).

Mike

P.S.  Please don't cross post to three mailing lists!

Cheun N Chong wrote:
> 
> 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@ecs.soton.ac.uk]
> > > Sent: Tuesday, April 11, 2000 8:15 AM
> > > To: XSL-List@mulberrytech.com
> > > 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
> 
> ---------------------------------------------------------------------
> In case of troubles, e-mail:     webmaster@xml.apache.org
> To unsubscribe, e-mail:          general-unsubscribe@xml.apache.org
> For additional commands, e-mail: general-help@xml.apache.org

Mime
View raw message