I am use Windows 10 pro. I try to run other Tomcat instance, but I cannot control config (%CATALINA_HOME%).
This is systempropertiesadvanced (hasn't CATALINA_HOME variable):
I try to echo by cmd (Administrator role)
I try to echo by cmd: (no return result)
Because I want run Tomcat correctly (other Tomcat instance), I must remove variable CATALINA_HOME, please help me!
1 Answer
To clear an environment variable using Setx.exe at a command prompt:
Click Start, point to Programs, and then click Command Prompt. If you want to clear a user environment variable, type the following line
setx <variable> "" where is the user environment variable. If you want to clear a system environment variable, type the following line
setx <variable> "" -m where is the system environment variable. Close the command prompt. When you use Setx.exe to clear an environment variable value, the environment variable name is not affected.