I\'m trying to set JAVA_OPTS for Tomcat on a Windows machine, but I keep getting an error if I add more than one variable.
JAVA_OPTS
For example, this works:
For Windows, in case the variable value has space(" ") in it, the correct way is actually to place quotes(") before the variable name like:
set "JAVA_OPTS=-Xms512M -Xmx1024M"