E.19 Action - Launch Java Application

The Action - Launch Java Application dialog box lets you configure a Java program to be executed on the managed device.

Figure E-20 Action - Launch Java Application Dialog Box

You access this dialog box by using the following methods:

Java Program Name: Specify the Java program name. For example, com.novell.TestProg.

Program Parameters: Specify the program parameters.

Path to Java Runtime Executable (JRE): Specify the path to the Java Runtime Executable (JRE).

JRE Parameters: Specify the JRE parameters.

Wait Before Proceeding to Next Action: Specify what happens after the Java application launches:

Success Return Codes: Specify the non-zero success codes that the script returns. You can specify multiple success codes separated by commas.

If a script returns non-zero success codes, you should specify these non-zero success codes while launching the action. For example, explorer.exe in Windows returns a success code of 1. To successfully launch the Explorer application, you should add 1 as the success code while launching the action.

Specify the Success Return Code as * to enable any non-zero code returned by a script to be treated as success.

Working Directory: Click More Options to specify the Java application’s working directory.

Specify the initial working directory for the application.

Priority: Click More Options to specify the Java application’s priority.

Specify the priority of the process that runs the application. This option lets you configure how much of the CPU usage the application process consumes. Select from the following priorities: Real Time, High, Above Normal, Normal, Below Normal, and Low.

Run As: Click More Options to specify the Java application’s Run As settings.