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
catalina.bat
I prefer using context.xml for tomcat environment variables:
context.xml
File conf\context.xml should looks like this:
conf\context.xml
...
After this environment variable project.home is simply accessible inside your tomcat app.
project.home