Re: problem with compilation of jsp

2005-04-26 Thread vishwam
the problem has been solved by

copying the
tools.jar file from  $java_home/lib   to $catalina_home/common/lib/

thanks for the reply to all
- Original Message -
From: "vishwam" <[EMAIL PROTECTED]>
To: 
Sent: Tuesday, April 26, 2005 4:02 PM
Subject: problem with compilation of jsp


hi
i hhave installed new apache tomcat on my system, iam facing problem when
executing jsp files
i have set
classpath  as  C:\Java\jdk1.5.0\lib;C:\Program
Files\Java\jre1.5.0\lib;C:\Program Files\Apache Software Foundation\Tomcat
5.0\common\lib

java_home as C:\Java\jdk1.5.0

catalina_home as C:\Program Files\Apache Software Foundation\Tomcat 5.0;
but iam getting the below error message
the root cause is

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
can any one help & solve this this problem please?





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



RE: problem with compilation of jsp

2005-04-26 Thread Raghupathy,Gurumoorthy
Please look at the list. This is because Tomcat has been installed on
"program files" a directory with spaces ... 
Please install tomcat in a directory without space "c:\Server\Tomcat" and
you should be fine 

Regards
Guru


-Original Message-
From: vishwam [mailto:[EMAIL PROTECTED] 
Sent: 26 April 2005 11:32
To: tomcat-user@jakarta.apache.org
Subject: problem with compilation of jsp 


hi 
i hhave installed new apache tomcat on my system, iam facing problem when
executing jsp files
i have set 
classpath  as  C:\Java\jdk1.5.0\lib;C:\Program
Files\Java\jre1.5.0\lib;C:\Program Files\Apache Software Foundation\Tomcat
5.0\common\lib

java_home as C:\Java\jdk1.5.0

catalina_home as C:\Program Files\Apache Software Foundation\Tomcat 5.0;
but iam getting the below error message
the root cause is
 
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
can any one help & solve this this problem please?



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



Re: problem with compilation of jsp

2005-04-26 Thread Anto Paul
On 4/26/05, vishwam <[EMAIL PROTECTED]> wrote:
> hi
> i hhave installed new apache tomcat on my system, iam facing problem when 
> executing jsp files
> i have set
> classpath  as  C:\Java\jdk1.5.0\lib;C:\Program 
> Files\Java\jre1.5.0\lib;C:\Program Files\Apache Software Foundation\Tomcat 
> 5.0\common\lib
> 
> java_home as C:\Java\jdk1.5.0
> 
> catalina_home as C:\Program Files\Apache Software Foundation\Tomcat 5.0;
> but iam getting the below error message
> the root cause is
> 
> 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
> can any one help & solve this this problem please?
> 
> 

Try setting JAVA_HOME instead of java_home. I am not sure whether it
is case sensitive in windows. It is not a good idea to install Tomcat
in a directory with spaces in the name.
-- 
Anto Paul

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



problem with compilation of jsp

2005-04-26 Thread vishwam
hi 
i hhave installed new apache tomcat on my system, iam facing problem when 
executing jsp files
i have set 
classpath  as  C:\Java\jdk1.5.0\lib;C:\Program 
Files\Java\jre1.5.0\lib;C:\Program Files\Apache Software Foundation\Tomcat 
5.0\common\lib

java_home as C:\Java\jdk1.5.0

catalina_home as C:\Program Files\Apache Software Foundation\Tomcat 5.0;
but iam getting the below error message
the root cause is
 
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
can any one help & solve this this problem please?