Configure Java Version Control rules
Java Version Control allows specific Websites and URLs to be assigned to a specific installed version of Java.
Before configuring Profile Container:
- Verify that you meet all entitlement and configuration requirements
- Download and install FSLogix Software
- IE 8 and later is supported
- Applications must run in IE7 or later
- Java 1.6.0_10 or later is supported
- Java 1.4.2 and later is supported for redirection
- Only versions of IE currently supported by Microsoft are supported in Java Version Control
There is a known issue regarding ActiveX blocking feature of IE that may cause applets, in certain circumstances, to stop responding when FSLogix version selection is in place. In order to workaround this, add the domain containing the applet URL to the Trusted Sites list in Internet Explorer.
If rules are changed, restart the Internet Explorer instances for the modified to rules.
Create a new rule set
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. Rules are deployed using the same process as other rules.
- Open the Java Rule Editor
In the Java Rule Editor, click Edit > Add.
Select the type of Rule to create (Application or URL)
- Select Application as the type
- Specify the location of the executable
- Select URL as the type
- Specify the URL
- Using Wildcards
- Protocol may be http, https, or *. * matches http or https. As an example *://contoso.com matches http://contoso.com and https://contoso.com.
- Sub-Domain may be specified as *. As an example https://*.contoso.com matches www.contoso.com, test.contoso.com and contoso.com.
- Path * matches full URL under where * is specified. As an example, https://contoso.com/* matches the entire domain. https://contoso.com/app/* matches everything in the path under app.
Specify the version of Java to use from the drop-down. As an example 1.6.0_45.
- Save the Java Project file.
- Click File > Generate to generate the Java Rule Files.
- The files generated depend on whether the rule is for a Website (URL) or an Application.
- For URLs, there will be an XML file created.
- For Applications two files will be generated, one Rule Set file (.fxr) and one Assignment file (.fxa).
- Deploy the generated files, see Deploying Rule Sets and Assignment Files.
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.
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.
Deploying Rule Sets
Application Masking and Java Version Control rely on Rules and Rule Sets. By default, Rules and Rule Sets are accessed from C:\Program Files\FSLogix\Apps\Rules. The location where Rules and Rule Sets are accessed by differ if the FSLogix installation location is changed.
To deploy a rule set, use any method to copy rule files (.fxr) and assignment files (.fxa) to the rules directory.
Any rule sets copied into / updated / deleted from the Rules folder will be automatically detected by the Service (frxsvc.exe) and compiled into a special format used by the Drivers (frxdrv.sys and frxdrvvt.sys). The service will then notify the driver of a change and the driver performs a live update of your installed rule sets. The compiled rule set files are located in C:\Program Files\FSLogix\Apps\CompiledRules