This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
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 Java Interview Guide this week in the Jobs Discussion 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!