You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cactus-user@jakarta.apache.org by Vincent Massol <vm...@pivolis.com> on 2003/10/14 19:07:10 UTC
RE: RE%3A [cactus] Couldn't find tools.jar (needed for JSPcompilation)
> -----Original Message-----
> From: Gary Hardy [mailto:gary@gjhconsulting.com]
> Sent: 14 October 2003 18:22
> To: vmassol@pivolis.com
> Subject: RE%3A [cactus] Couldn't find tools.jar (needed for
> JSPcompilation)
>
> Vincent,
>
> Thanks for the quick response.
>
> >
> > So it seems we may need to improve our scripts/code to make
tools.jar
> > optional (at least for mac). Patches welcome...
> I know we OSX people are a pain. In my case even more of a nit, 'casue
I
> deploy on Solaris.
>
> >
> > Maybe a work around is to create a copy of classes.jar and name it
> > tools.jar?
> Tried that. Question is; and, put it where?
I don't know. Why don't you put at the expected location? The code does
this:
String javaHome = System.getProperty("java.home");
File toolsJar = new File(javaHome + "/../lib/tools.jar");
Check where java.home points to on your machine and then put it in
javahome/../lib/tools.jar
> Also tried taking a win tools.jar ... Same question?
Taking a win tools.jar probably won't work.
-Vincent
>
> Thanks.
> gary...