Customizing Java Executable Patterns for Windows-Based Installations

InstallAnywhere 2025 R1

The default search patterns that InstallAnywhere-generated installers use on Windows-based systems include:

java.exe
bin\java.exe
jre\bin\java.exe

You can customize the list of patterns as needed.

Note:Once a pattern matches against any directory, that directory is considered a VM home directory and none of its subdirectories are searched.

Adding a New Search Pattern

To add a new search pattern to the Java Executable Patterns list:

1. In the Advanced Designer, on the Project page, click JVM Settings. The JVM Settings view opens.
2. Click the Search Panel Settings tab.
3. Click the Windows subtab.
4. Click the Java Executable Patterns subtab.
5. Click the Add button. InstallAnywhere adds a new row to the search paths list.
6. Enter the new search pattern.

Removing a Search Pattern

To remove a search pattern from the Java Executable Patterns list:

1. In the Advanced Designer, on the Project page, click JVM Settings. The JVM Settings view opens.
2. Click the Search Panel Settings tab.
3. Click the Windows subtab.
4. Click the Java Executable Patterns subtab.
5. Click the search pattern that you want to delete and then click the Remove button.

Editing an Existing Search Pattern

To edit an existing search pattern in the Java Executable Patterns list:

1. In the Advanced Designer, on the Project page, click JVM Settings. The JVM Settings view opens.
2. Click the Search Panel Settings tab.
3. Click the Windows subtab.
4. Click the Java Executable Patterns subtab.
5. Click the search pattern that you want to edit and then enter your changes.

See Also