aspose file tools*
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
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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: jdk and tomcat