Does anyone know if its possible to use Tomcat with just the JRE rather than the JDK?

Because of licensing restrictions with distributing the Sun JDK,
we would like to distribute our servlet application with the JRE only.

I have tried to run Tomcat with the JRE rather than the JDK by setting
JAVA_HOME to the JRE home directory. When I run Tomcat and try to load
our startup servlet in the browser I get:
"Exception in thread "main" java.lang.NoClassDefFoundError: 
javax/servlet/http/HttpServlet"

Our servlets are in jar files in <TOMCAT_HOME>\lib. We use servlets only, not JSP.
We are running Tomcat 3.2.3 on Win2000.

Does anyone know why Tomcat fails to find the HttpServlet?

Thanks
Andy Birchall

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to