How to Use Custom JVM Parameters

Last edited on

If you need to use custom JVM parameters, you must create a batch file for starting Java with the parameters.

Make sure that the same Java command is used as the one for the JRE that was specified during Squish setup. Write a .bat file (Windows) or a shell script (Unix-like systems) to start Java and pass the JVM parameters that you need. For Unix-like systems (e.g., Linux, Mac OS X) the shell script must be made executable (chmod a+x myShellScript).

Be sure to set the batch file or shell script as the AUT in Squish’s testsuite settings.