Thanks for responding Nikita, yes I am using XP. My JAVA_HOME is set correctly. This has brought up an issue though. JAVA_HOME is set to: C:\Program Files\Java\j2sdk1.5.0
Will the space cause problem ? Daron. -----Original Message----- From: Nikita [mailto:[EMAIL PROTECTED] Sent: Thursday, 26 August 2004 5:57 PM To: Tomcat Users List Subject: Re: Not serving JSPs Daron wrote: >Hi, > >I set up Tomcat a few months ago and have just been able to start >looking at it again. It is serving up my html documents but with jsps >it complains. The error page includes: > >Unable to find a javac compiler; >com.sun.tools.javac.Main is not on the classpath. >Perhaps JAVA_HOME does not point to the JDK > > first step is to check JAVA_HOME. open a console and type 'echo %JAVA_HOME%'. see if proper directory shows up. if not, check your environment settings in 'system' in control panel. i am assuming you're running win xp or similar -nikita > >org.apache.tools.ant.taskdefs.compilers.CompilerAdapterFactory.getCompi >ler(C >ompilerAdapterFactory.java:106) > >I have set the environment variable JAVA_HOME to point to a JDK and >checked that it contains a bin directory with a javac.exe file but I >still get the problem. Can anyone direct me to other issues that I >should look at. > >Regards, >Daron Ryan. > >--- >Outgoing mail is certified Virus Free. >Checked by AVG anti-virus system (http://www.grisoft.com). >Version: 6.0.740 / Virus Database: 494 - Release Date: 16/08/2004 > > > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.740 / Virus Database: 494 - Release Date: 16/08/2004 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.740 / Virus Database: 494 - Release Date: 16/08/2004 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
