How to set multiple JAVA_OPTS options in startup.bat

后端 未结 2 1839
梦如初夏
梦如初夏 2021-01-12 07:52

I am trying to pass multiple parameters when I start tomcat through startup.bat. I tried adding these lines at the top of startup.bat file, however they do

2条回答
  •  借酒劲吻你
    2021-01-12 08:18

    set JAVA_OPTS=%JAVA_OPTS% -Dapplication.home="E:\\webapp"

    set JAVA_OPTS=%JAVA_OPTS% -Dfilepath="D:\\newFolder\\conf\\con.properties"

提交回复
热议问题