6.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. You can also specify the specific requirements that a device must meet for the action to be executed on the device.

Figure 6-21 Action - Launch Java Application Dialog Box

Action - Launch Java Application Dialog Box

To access this dialog box in ZENworks Control Center, click the Bundles tab. Click the underlined link of a bundle in the Name column of the Bundles list, click the Actions tab, click one of the action set tabs (Distribute, Install, Launch, Verify, Uninstall, Terminate, or Preboot), click the Add drop-down list, then select an available action.

The following sections contains additional information:

6.19.1 General

The General page lets you configure a Java program to be executed on the managed device.

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:

  • No wait: The next action in the list is immediately performed.

  • When launch action is complete: The next action in the list is performed after the launch action completes.

  • Wait for _ seconds: Wait the specified number of seconds before proceeding to the next action.

    • Terminate action if wait period exceeded: If you select the Wait for _ seconds option, this option is enabled. If the specified number of seconds is exceeded and the action is not successfully performed, the action is terminated.

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.

  • System: Runs the application as the system account (as a service).

  • Administrator: Runs the application as a dynamic administrator user. A dynamic administrator is an administrator account that is created on the fly to perform certain procedures, such as installing applications or running scripts. Using a dynamic administrator is helpful when installing applications (some MSI applications, for example) that cannot be installed in the system space. When you select this action, the dynamic administrator is created, it performs the required tasks, and then the account is deleted.

    NOTE:Performing this action as dynamic administrator on a Windows domain controller fails because Microsoft does not allow the use of local administrator accounts on domain controllers.

  • User: The application runs using the logged-in user’s credentials. For example, the application has the same rights to the registry and the file system as the logged-in user.

The following options are available for Linux:

  • Root: The application runs only if the root user is logged in to the device.

  • User: The application runs using the logged-in user’s credentials. For example, the application has the same rights to the registry and the file system as the logged-in user.

6.19.2 Requirements

The Requirements page lets you define specific requirements that a device must meet for the action to be enforced on it. For information about the requirements, see Requirements.