My JDK and Tomcat configuration

xiaoxiao2021-03-06  57

Take it for a long time, some places are unclear, remember, in case reload, it will be checked. The two installed files I installed are jdk1.42.exe and jakarta-tomcat-5.0.14.exe, the installation paths are: D: /JDK1.42 and D: / tomcat5 are correct, the system is Win2000; start configuring the environment Variables: PATH Add D: / Tomcat5 / bin; d: /jdk1.42/bin new variable as follows: Catalina_Home value is D: / tomcat5 classpath value is.; D: /jdk1.42/lib/tools.jar; D: /jdk1.42/lib/dt.jar; d: /jdk1.42/bin; d: /tomcat5/common/lib/servlet-api.jar; front.; Inestary java_home value D: / jdk1 .42 initial test, there should be no problem. Here is a self-sensitive section of "the previous array of Catalina_home's names to Tomcat_home, the books can be said, but they can't start with D: /Tomcat5/bin/startup.bat, can only start Tomcat from the start-program; In fact, you can see this Rem too stupid, open Startup.bat, you can see this refer ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ---------------------------------------- Rem Start Script for the Catalina ServerRemRem $ ID : Startup.bat, V 1.4 2002/08/04 18:19:43 Patrickl Exp $ Rem ------------------------------------------------------------------------------------------------------------------------------ -------------------------------------------- Rem Guess Catalina_Home IF Not definedif Not "% catalina_home" == "" goto gothomeset catalina_home = .IF exist "% catalina_home% / bin / catalina.bat" goto okhomeset catalina_home = ..: gothomeif exist "% catalina_home% / bin / catalina.bat" goto okHomeecho the CATALINA_HOME environment variable is not defined correctlyecho this environment variable is needed to run this programgoto end: okHome which is clearly CATALINA_HOME, possible environmental variable TOMCAT_HOME, then here a change on the line "results of the test later found two environment variables name You can, it is definitely an error in the other place before configuring, huh, huh

转载请注明原文地址:https://www.9cbs.com/read-113028.html

New Post(0)