Search Panel Settings Tab in the JVM Settings View

InstallAnywhere 2017 » Advanced Designer » Project » JVM Settings

Use the Search Panel Settings tab in the JVM Settings view to specify criteria to use to find valid VMs for the application that you are installing. The Search Panel Settings tab contains the following subtabs:

General Subtab
Windows Subtab
UNIX Subtab

General Subtab

The VM Search Settings area of the General subtab is where you indicate the criteria that the installer uses to find valid VMs for the software that your project installs.

The General subtab includes the following controls in the VM Search Settings area:

General Subtab Controls

Control

Description

Use installer’s valid VM list

Uses the criteria specified in the Installer Valid VM List (Project > JVM Settings > Installer Settings).

Use the valid VM list of all LaunchAnywhere actions

Uses the lax.nl.valid.vm.list value for your application’s launcher as the criteria for the VM search.

Note • If more than one launcher exists in the installer, the installer combines the values for all launchers, searching for a VM that meets all VM criteria.

Use a specific valid VM list

Specify the VM criteria you want the installer to use.

Note • See About Java VM Selection Criteria for valid VM criteria.

Windows Subtab

The Windows JVM Search Paths area includes the following subtabs:

Search Paths Tab
Java Executable Patterns Tab

Search Paths Tab

The Windows JVM Search Paths area of the Windows subtab provides a list of search paths and search patterns for your project’s Windows installers to use to locate VMs.

Tip • These settings provide parameters for the VM search, while the VM Search Settings on the General Subtab specify which VMs are valid for the software deployed by your project.

Note • These settings apply only when the installer searches for a VM on the target system and when the installer attempts to provide a list of VMs on the Choose Java VM panel. They do not apply to any searches independently performed by LaunchAnywhere launchers in your project.

On the Search Paths tab, you can add, remove, or move entries in the Search Paths list.

The Search Paths tab includes the following controls:

Search Paths Tab Controls

Control

Description

Add

Click to insert a new entry in the Search Paths list.

In the first column of the new entry, enter a path to search for Java virtual machines.

In the second column, select one of the following to specify how deep the installer searches subdirectories of the given path:

Top Level—Search only the specified directory: no subdirectories.
First Level—Search only the specified directory plus its first-level subdirectories.
All Levels—Search the specified directory and all subdirectories.

Add Path Environment Variable

Click to insert <Path Environment Variable Search> in the Search Paths list. This entry causes the installer’s launcher to search the paths present in the target system’s Path environment variable for valid VMs.

Add Windows Registry

Click to insert <Windows Registry Search> in the Search Paths list. This entry causes the installer’s launcher to search the paths (JavaHome) in the target system’s Windows registry for valid VMs.

Up

Click to move the currently selected entry in the Search Paths list up one position.

Down

Click to move the currently selected entry in the Search Paths list down one position.

Remove

Click to delete the currently selected entry from the Search Paths list.

Note • InstallAnywhere does not support the use of InstallAnywhere variables or Magic Folders in path entries.

Java Executable Patterns Tab

On the Java Executable Patterns tab, you can add, remove, or change the patterns the installer uses to identify VMs.

The Java Executable Patterns tab includes the following controls:

Java Executable Patterns Tab Controls

Control

Description

Path List

List of defined Java Executable patterns.

Add

Click to insert a new pattern in the Java Executable Patterns list. Type the string you want your project’s installers to use to identify VMs on the target machine.

To change an existing entry, double-click the entry and type your edits.

Remove

Click to remove the currently selected entry from the Java Executable Patterns list.

UNIX Subtab

The Unix JVM Search Paths area of the UNIX subtab is a list that the installer uses when determining whether a compatible VM is found on the system.

The Unix JVM Search Paths area includes the following subtabs:

Search Paths Tab
Java Executable Patterns Tab

Search Paths Tab

On the Search Paths tab, provide a list of search paths and search patterns your project’s UNIX-based installers use to locate VMs.

Tip • These settings provide parameters for the VM search, while the VM Search Settings on the General Subtab specify which VMs are valid for the software deployed by your project.

Note • These settings apply only when the installer searches for a VM on the target system and when the installer attempts to provide a list of VMs on the Choose Java VM panel. They do not apply to any searches independently performed by LaunchAnywhere launchers in your project.

On the Search Paths tab, you can add, remove, or move entries in the Search Paths list.

The Search Paths tab includes the following controls:

Search Path Tab Controls

Control

Description

Add

Inserts a new entry in the Search Paths list. Type a path to search for Java virtual machines. The following options are available for specifying how deep the installer searches subdirectories of the given path:

Top Level—Search only the specified directory: no subdirectories.
First Level—Search only the specified directory plus its first-level subdirectories.
All Levels—Search the specified directory and all subdirectories.

Add Path Environment Variable

Inserts <Path Environment Variable Search> in the Search Paths list. This entry causes the installer’s launcher to search the paths present in the target system’s Path environment variable for valid VMs.

Up

Moves the currently selected entry in the Search Paths list up one position.

Down

Moved the currently selected entry in the Search Paths list down one position.

Remove

Deletes the currently selected entry from the Search Paths list.

Note • InstallAnywhere does not support the use of InstallAnywhere variables or Magic Folders in path entries.

Java Executable Patterns Tab

On the Java Executable Patterns tab, you can add, remove, or change the patterns the installer uses to identify VMs.

The Java Executable Patterns tab includes the following controls:

Java Executable Patterns Tab Controls

Control

Description

Path List

List of defined Java Executable patterns.

Add

Click to insert a new pattern in the Java Executable Patterns list. Type the string you want your project’s installers to use to identify VMs on the target machine.

To change an existing entry, double-click the entry and type your edits.

Remove

Click to remove the currently selected entry from the Java Executable Patterns list.