tomcat启动

    技术2022-05-12  0

    之前我已经把在eclipse中运行tomcat的方法写出来了~ 那个时候我一直在外面都打不开tomcat,dos下总是显示 the java_home environment variable is not defined correctly This environment variable is needed to run this program NB: java_home should point to a jdk not a jre 当时我们都能知道是环境变量path的设置 当时我的JAVA_HOME变量是:C:/Program Files/Java/Holmes/jdk1.6.0_05 path变量是:C:/Program Files/Java/Holmes/jdk1.6.0_05/bin;%SystemRoot%/system32;%SystemRoot%;%SystemRoot%/System32/Wbem;C:/Program Files/Microsoft SQL Server/80/Tools/BINN; 这样子就出现问题,tomcat启动就出现问题了  后来我就把path改为这样:%JAVA_HOME%/bin;%SystemRoot%/system32;%SystemRoot%;%SystemRoot%/System32/Wbem;C:/Program Files/Microsoft SQL Server/80/Tools/BINN; 耶!这样子设置居然就可以运行了.....

    最新回复(0)