File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes How to run Tomcat without JDK Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "How to run Tomcat without JDK" Watch "How to run Tomcat without JDK" New topic
Author

How to run Tomcat without JDK

Anu Kalra
Greenhorn

Joined: Dec 08, 2004
Posts: 8
My question is that is it possible to run TOMCAT without JDK. I feel that during startup, TOMCAT looks for JAVA_HOME. Is there a way by which i can copy a few JAR file to Tomcat directory and run it.
I do not want to install JDK, but run TOMCAT.
I have WAR file ready, so i do not even require to compile my JSPs
Kindly suggest me.
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12836
    
    5
Tomcat has gotten many features over the years and may not be the best choice if you want a really compact installation that only uses Java runtime jars.
Bill
[ May 24, 2005: Message edited by: William Brogden ]
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Tomcat 5.5 and up ships with it's own compiler.
Because of this, you only need a JRE.

NOTE: The jre needs to be 1.5.0 or better unless you also download and intall the compat libs. See the directions on the tomcat site.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to run Tomcat without JDK