struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Maris Orbidans" <M.Orbid...@datapro.lv>
Subject RE: How to organize the CLASSPATH to compile and execute with struts.jar
Date Tue, 09 Apr 2002 12:27:08 GMT

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:gilson.rei@cpm.com.br]
> > 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:struts-user-unsubscribe@jakarta.apache.org>
> > For additional commands, e-mail: 
> <mailto:struts-user-help@jakarta.apache.org>
> 
> 
> --
> To unsubscribe, e-mail:   
<mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message