1,如下图,用记事本打开setclasspath.bat,可以看到代码里面去寻找电脑的环境变量

tomcat 进程 java.exe 是因为tomcat是用Java开发的,依赖Java环境_环境变量