How to add jvm options to tomcat on windows 7

前端 未结 3 1754
心在旅途
心在旅途 2021-02-10 07:59

How can I add jvm options to Tomcat on Windows 7?. By the way I am using Tomcat 7. I added my jvm options to first line of catalina.bat file but it didn\'t work. I

3条回答
  •  隐瞒了意图╮
    2021-02-10 08:57

    I prefer using context.xml for tomcat environment variables:

    File conf\context.xml should looks like this:

    
    
    
         ...
    
         
    
    
    

    After this environment variable project.home is simply accessible inside your tomcat app.

提交回复
热议问题