Meaningless Drivel is fun!*
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "jdk and tomcat" Watch "jdk and tomcat" New topic
Author

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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: jdk and tomcat