Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

Re: Fw: new apps won't deploy, not sure what's going on

Wade Chandler

2004-04-25


Jonathan R. Myers wrote:
>
>
> OK, I get this message:
> No Java compiler was found to compile the generated source for the JSP.
> This can usually be solved by copying manually $JAVA_HOME/lib/tools.jar from the JDK
> to the common/lib directory of the Tomcat server, followed by a Tomcat restart.
> If using an alternate Java compiler, please check its installation and access path.
>
> I have tomcat installed in C:\Tomcat5.0 and %CATALINE_HOME is: C:\Tomcat5.0
> JAVA_HOME is:C:\j2re1.4.2_04 which is where I have java installed
>
> I can get tomcat to run and it loads the default tomcat page and I can load the examples but I tried creating a new context and I always get the error above. I just wanted one of the new contexts to be a folder with subfolders that contained images and that won't even load.
> I'm running XP with Tomcat5.0.19-all settings are default for Tomcat except running on port 80.
>
> I've installed Tomcat4.0 before and was able to get it up and running in no time. Does anyone have any ideas?
>
> Thanks,
> J.R.

C:\j2re1.4.2_04 is your problem. You need to download a JDK not a JRE.
The JSP's use javac and JRE doesn't have any development tools (javac
nor any other JDK tool). That's why the error message you got mentions
getting tools.jar from a JDK not a JRE ;-).

Hope that helps you out.

Wade



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.