How to set multiple JAVA_OPTS options in startup.bat

后端 未结 2 1844
梦如初夏
梦如初夏 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:01

    try without quotes

    set JAVA_OPTS=-Dapplication.home=E:\\webapp -Dfilepath=D:\\newFolder\\conf\\con.properties
    

    should work

提交回复
热议问题