Page tree
Skip to end of metadata
Go to start of metadata

You can create rules to configure a website or application to use a specific version of Java. Java Rules are added using the Java Rule Editor and then deployed using the same process as other rules.

  1. In the Java Rule Editor, click Edit > Add.
  2. Select the type of Rule to create:
    • Application rule: Select Application as the type and provide the path to the executable.

    • URL rule: Select URL as the type and provide the web page URL. There are three locations in the URL that can accept a wildcard: protocol, subdomain, and path. (Note: unless the full path to the page is provided, a wildcard must be used at the end of the path.)

      *://** - matches - http or https, any subdomain, and any path on the domain.

      URL Rules require that the Java application runs in Internet Explorer 7 or later on the client computer.

  3. Select the version of Java to use. The Java Version list is pre-populated with the Java versions on the admin computer where the Java Rule Editor is installed. You can also type in the required version using the following format:

    [Major version number].[Minor version number]_[Update number]

    Example: 1.6.0_45

    If the latest version of Java is selected in the Java Version Field, The Java Version control and associated features are effectively disabled for the given URL.

    The selected Java version must be installed on the client computer or the rule will not work. Multiple versions of Java can be installed side-by-side. Major Java versions will not conflict with each other, as each installs to a unique directory. However, Java versions that are the same major version but different minor versions install into the same directory by default. You can simply change the path during the installation to avoid this problem.

    Java version

    In almost all cases the 32-bit versions of Java should be used. Typically only if there are specific instructions to use 64-bit Java should it be tested before the 32-bit versions.

  4. Save the Java Project file.
  5. Click File > Generate to generate the Java Rule Files.
  6. The files generated depend on whether the rule is for a Website (URL) or an Application.
    1. For URLs there will be an XML file created.
    2. For Applications there will be two files generated, one Rule Set file (.fxr) and one Assignment file (.fxa).
  7. Deploy the generated files, see Deploying Rule Sets and Assignment Files.

  • No labels