how to set JAVA_OPTS for Tomcat in Windows?

后端 未结 7 2150
别跟我提以往
别跟我提以往 2020-12-09 16:13

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.

For example, this works:

相关标签:
7条回答
  • 2020-12-09 17:00

    Apparently the correct form is without the ""

    As in

    set JAVA_OPTS=-Xms512M -Xmx1024M
    
    0 讨论(0)
提交回复
热议问题