如何为ANT build.xml文件设置环境变量? (JAVA)

时间:2021-10-02 22:47:28

I am trying to open a project with the Windows version of Eclipse, but after choosing to open the build.xml file the error message says:

我正在尝试使用Windows版本的Eclipse打开一个项目,但在选择打开build.xml文件后,错误消息显示:

Problem setting the classpath of the project from the javac classpath: C:\project1\${env.TOMCATEB_HOME}

从javac类路径设置项目的类路径时出现问题:C:\ project1 \ $ {env.TOMCATEB_HOME}

I tried to set TOMCATEB_HOME environment variable in the Windows control panel, pointing to the Tomcat root folder (the one that has uninstall.exe), but it had no effect.

我试图在Windows控制面板中设置TOMCATEB_HOME环境变量,指向Tomcat根文件夹(具有uninstall.exe的文件夹),但它没有任何效果。

1 个解决方案

#1


scroll down to setting environment variables

向下滚动到设置环境变量

#1


scroll down to setting environment variables

向下滚动到设置环境变量