And don't put struts.jar in global classpath.


Maris Orbidans


> You specify classpath during compiling:
> 
> 
> C:\>javac
> Usage: javac <options> <source files>
> where possible options include:
> 
>   -classpath <path>         Specify where to find user class files
>   -sourcepath <path>        Specify where to find input source files
> 
> 
> 
> 
> > -----Original Message-----
> > From: Gilson Nascimento D Elrei [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, April 09, 2002 1:48 PM
> > To: 'Struts Users Mailing List'
> > Subject: How to organize the CLASSPATH to compile and execute 
> > with struts.jar
> > 
> > 
> > I'm having this following problem:
> > When I need to compile I copy struts.jar to 
> > <JAVA-HOME>\JRE\LIB\EXT (no
> > CLASSPATH directory, but JAVAC find it automatically), it's 
> > ok but when I
> > try to execute my STRUT APPLICATION i get error messages, cos 
> > struts.jar is
> > found in this directory first and not in my 
> > <APP_CONTAINER>\WEB-INF\LIB\
> > directory. 
> > Ok, to execute i need to remove struts.jar from 
> > <JAVA-HOME>\JRE\LIB\EXT.
> > Is there a mean for accomplish it more efficiently ?
> > thanks for any suggestion.
> > Gilson.
> > 
> > --
> > To unsubscribe, e-mail:   
> > <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail: 
> <mailto:[EMAIL PROTECTED]>
> 
> 
> --
> To unsubscribe, e-mail:   
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to