This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Tomcat and the fly likes Should I install the complete JDK to run my application using Tomcat 5.0 Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Products » Tomcat
Reply Bookmark "Should I install the complete JDK to run my application using Tomcat 5.0" Watch "Should I install the complete JDK to run my application using Tomcat 5.0" New topic
Author

Should I install the complete JDK to run my application using Tomcat 5.0

surendar prabu
Ranch Hand

Joined: Jul 24, 2006
Posts: 102
I am using tomcat 5.0 to run my application.

Should i install the complete JDK version in my host machine to run my application?

please tell me the requirements for running an application using Tomcat.

isn't that sufficient if i place the tools.jar file inside /common/lib folder.

help me regarding this.


SCJP 1.4
Martin Simons
Ranch Hand

Joined: Mar 02, 2006
Posts: 196
You need at least a JRE.
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

If your application is to have JSPs (that are not pre-compiled) you will need a full JDK. JSPs get converted to servlet code and then compiled by the container when they are first accessed.
For this reason, you will need a compiler.

Version 5.5 ships with the JDT compiler (from the Eclipse project) and therefore, only needs a JRE.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Should I install the complete JDK to run my application using Tomcat 5.0
 
Similar Threads
JDK 1.4 Tomcat and JDK 1.3 Jserv at the sametime?
JasperException on java.math.BigDecimal
problem in Compiling servlets
Installation Problem
What version of JDK and TomCat?