读书人

Tomcat6不再亟需jdk支持只需要jre(

发布时间: 2012-11-11 10:07:57 作者: rapoo

Tomcat6不再需要jdk支持,只需要jre(来自注册表或是JAVA_HOME变量)

Tomcat 5.5及以前的版本,我们都必须安装JDK,因为Tomcat Jasper需要使用JDK去编译jsp(翻译后的java文件),Tomcat 6的jasper在新的版本已经做了重新的设计,以下是tomcat 6官方文档的一句话:

Java location: The installer will use the registry or the JAVA_HOME environment variable to determine the base path of a J2SE 5 JRE. (来自注册表或是JAVA_HOME变量)Tray icon: When Tomcat is run as a service, there will not be any tray icon present when Tomcat is running. Note that when choosing to run Tomcat at the end of installation, the tray icon will be used even if Tomcat was installed as a service. Refer to the Windows Service HOW-TO for information on how to manage Tomcat as Windows NT service


Tomcat6不再亟需jdk支持,只需要jre(来自注册表或是JAVA_HOME变量)
?

读书人网 >编程

热点推荐