Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

jdk and tomcat

 
Ariffin Ahmad
Ranch Hand
Posts: 84
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
because jsps need to be compiled, so they need javac, not just java. The JRE will only run compiled items.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic