Question: how to set jvm arguments in tomcat?
Answer: Open the Tomcat configuration tool from the Windows menu at Start > All Programs > Apache Tomcat > Tomcat Configuration.
Click Configure and select the Java tab.
At the bottom of the Java Options field, enter the following: -Dexample.license.directory="C:\Program Files\example"
Stop and restart the application server.