It's not a secret anymore!
The moose likes Tomcat and the fly likes jdk and tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "jdk and tomcat" Watch "jdk and tomcat" New topic

jdk and tomcat

Ariffin Ahmad
Ranch Hand

Joined: Aug 16, 2001
Posts: 84
why should i used jdk directory for JAVA_HOME in tomcat, instead of jre directory?....
compare to jdk, jre is much smaller.
i can't see why i should...
can anybody explain to me?.....
Mike Curwen
Ranch Hand

Joined: Feb 20, 2001
Posts: 3695

because jsps need to be compiled, so they need javac, not just java. The JRE will only run compiled items.
I agree. Here's the link:
subject: jdk and tomcat
It's not a secret anymore!