tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Giri Gopal" <GiriGo...@bcgink.com>
Subject RE: Tomcat 5.0 install - Please Help
Date Fri, 12 Sep 2003 20:01:10 GMT
Hello:

O.K I uninstalled the JDK stuff and Tomcat 5.0. Reinstalled Java 2SDK 1.4.2.
and trying to install Tomcat 5.0. I get an error message stating Java
Virtual Machine not found?.

Now what do I do? I installed the JVM from Microsoft site, reboot my PC and
still getting the same error. Please Help.



Thanks
Giri Gopal

-----Original Message-----
From: Jacob Kjome [mailto:hoju@visi.com]
Sent: Friday, September 12, 2003 10:19 AM
To: Tomcat Users List
Subject: Re: Tomcat 5.0 install - Please Help



First, install your JDK to the root of the C: drive, not under Program
Files.  Spaces in the path mess things up usually.  Second, it is
JAVA_HOME, not Java_Home.  And do you have %JAVA_HOME%\bin in your system
"Path" variable?

Jake

At 08:38 AM 9/12/2003 -0500, you wrote:
>I downloaded Tomcat 5.0. Installed on W2K machine. Tomcat Starts O.K. I am
>able to test all the samples and works fine. I create a simple JSP page and
>I get the following error.
>
>
>org.apache.jasper.JasperException: Unable to compile class for JSP
>
>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.
>
>
>org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandl
e
>r.java:128)
>
>org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:
3
>07)
>
org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:420)
>         org.apache.jasper.compiler.Compiler.compile(Compiler.java:460)
>         org.apache.jasper.compiler.Compiler.compile(Compiler.java:444)
>
>org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:
6
>03)
>
>org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:
3
>00)
>
>org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:294)
>         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
>         javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
>
>
>
>I have installed Java 2SDK 1.4.2. I am also new to the java stuff. How do I
>ensure the class path stuff is correct?. My class path is under user
>variables, should it be in system variables?. The  System Variables
>Java_Home shows as: c:\program Files\j2sdk_nb\j2sdk1.4.2\bin.  Is this
>correct.  Where can I find some sample JSP pages and servlets written to
>access oracle db and the setup required for Tomcat?
>
>Can some one please help.
>
>
>Thanks
>GG
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message