To pass custom JVM parameters to your Java application, start it from a batch file or shell script and set that script as the AUT.¶
Write a
.bat file(Windows) or a shell script (Unix-like systems, such as Linux and macOS) that starts your application and includes the JVM parameters you need. Make sure the script calls the same Java command as the JRE that you specified during Squish setup.On Unix-like systems, make the shell script executable:
chmod a+x myShellScriptIn the Squish IDE, open the test suite settings and set the batch file or shell script as the AUT.
For an example of a startup script for a Java AUT, see AUTs and Settings: Java/SWT Applications .