You don't have to put it in the classpath.  Setting the JAVA_HOME system
environment variable is enough (let it point to the directory where your
JDK is installed, not the /bin or /lib subdirectories).

Of course, if you rather want to put it in your classpath, that's also
ok.

Regards, Stefan.

-----Original Message-----
From: William Brogden [mailto:[EMAIL PROTECTED]]
Sent: 11. mars 2001 21:46
To: [EMAIL PROTECTED]
Subject: Re: Servlets work, JSP pages don't - WHY?




Peter Adamek wrote:
> 
> I installed Apache and Jakarta-Tomcat on my Linux box
> running RH 7.  Basically, I created a new context
> in the document root directory and tried to write my
> own servlets and jsp pages.  Well, servlets work OK,
> jsp pages don't ........................

> Internal Servlet Error:
> 
> javax.servlet.ServletException: sun/tools/javac/Main
>         at

It is looking for the compiler that lives in the tools.jar
file which cames in the JDK. You have to supply this by
putting it in the classpath.

-- 
WBB - [EMAIL PROTECTED]
Java Cert mock exams http://www.lanw.com/java/javacert/
Author of Java Developer's Guide to Servlets and JSP 
ISBN 0-7821-2809-2

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


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

Reply via email to