> > Another thing I noticed is that if you provide some incorrect path in
the
> > CLASSPATH variable, even if you correct it by editing it it is likely
that
> > the new path aren't correctly recognised.
> > So it is necessary to startup the machine again or to delete and provide
> the
> > CLASSPATH variable again. Ignoring this (like me in the past) can make
> > people waste a lot of time.
>
> That's why I dont recommend messing with classpaths. I run java with an
> empty CLASSPATH variable, and my life is better for it.
>
> I recommend you put the jars containing javax.* code (jax-rpc, saaj,
> xerces) in the CATALINA_HOME/common/lib, where they all get picked up
> properly. The happyaxis.jsp page says exactly the same thing.
>
>
> ==>Ok, thank you. But how can I launch commands such as
java org.apache.axis.wsdl.Java2WSDL -o ...... [classname] without having the
classpath value of [classname] in the CLASSPATH
environment variable?
In other words, I tried to specify the classpath in this way:
java org.apache.axis.wsdl.Java2WSDL -o ......-cp [classpath] [classname]
obtaining an error, since -cp is not this way recognised
as an option of the Java.exe command but instead an
org.apache.axis.wsdl.Java2WSDL incorrect one.
What's wrong in that? How can I avoid to set the classpath environment
variable?
Thank you very much in advance,
:P: