Customizing UNIX Search Paths

InstallAnywhere 2013

InstallAnywhere lets you customize search path settings for installers that target UNIX-based systems.

Adding a Search Path for UNIX-Based Systems

To add a search path for UNIX-based systems:

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 UNIX subtab.
4. Click the Search Paths subtab.
5. Do one of the following:
To specify an absolute path for the search location:
a. Click the Add button. InstallAnywhere adds a new row to the search paths list.
b. Click the new row and then enter the absolute path to the directory that you want the installer to search for Java executable files.

Note that you should not use InstallAnywhere variables or magic folders in the path statement.

By default, new search paths search only the top level of the directory that you specify. No subdirectories are searched.

To specify a PATH environment variable search, click the Add Path Environment Variable button. InstallAnywhere adds a new Path Environment Variable Search row to the search paths list.

The PATH environment variable search scans the top-level of any directories in the PATH environment variable.

Removing a Search Path from UNIX-Based Systems

To remove a search path from UNIX-based systems:

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 UNIX subtab.
4. Click the Search Paths subtab.
5. Click the search row that you want to remove, and then click the Remove button.

Editing an Existing UNIX Search Path

You can edit a search path that uses an absolute path.

To edit an existing UNIX search path:

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 UNIX subtab.
4. Click the Search Paths subtab.
5. Click the search row that you want to edit. This activates the entry and places the cursor at the end of the path statement.
6. Enter your path changes.

Changing the Directory Depth for a UNIX Search Path

To change the directory depth for a UNIX search path:

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 UNIX subtab.
4. Click the Search Paths subtab.
5. In the search paths list, double-click the level that you want to edit, and then select one of the following options:
Top Level—Only searches within the immediate directory. No subdirectories.
First Level—Searches the immediate directory and its first-level subdirectories.
All Levels—Searches the immediate directory and all subdirectories.

Searching all levels results in a very thorough search but can significantly increase the time that it takes to perform the search. However, the installer stops searching in any directory as soon as it finds a VM in that directory.

See Also