Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to run Tomcat without JDK

 
Anu Kalra
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13058
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic