This task describes how to disable the dynamic transformation support mechanism if it does not work properly, and how to manually configure the Java environment to use the Java Add-in without dynamic transformation support.
Note: The dynamic transformation support mechanism is not supported when using the incremental garbage collector (-Xincgc option). Therefore, if you absolutely must use the -Xincgc option, you need to disable dynamic transformation support.
Specify the folder in which to save the dynamically transformed classes that will be generated during the preliminary launching of your java applet or application.
Open the registry editor (select Start > Run, type regedit in the Open box and click OK) and navigate to the JavaAgent main key, located in: HKEY_LOCAL_MACHINE\SOFTWARE\Mercury Interactive\JavaAgent. Define a new string value named ClassesDumpFolder, and set its value data to an existing folder (preferably empty) on your computer, for example, C:\JavaSupportClasses.
Note: If the ClassesDumpFolder string value already exists, you can modify its value data to an existing folder on your computer.
If you are using the -Xincgc option, temporarily remove it from the command line to enable the JVM hook profiler to transform and save the necessary classes.
Launch your applet or application and perform some basic operations on it. This ensures that all of the necessary classes are transformed and saved.
Close your applet or application. All of the dynamically transformed classes are now saved in the folder you specified in the previous step (for example, C:\JavaSupportClasses).
If you temporarily removed the -Xincgc option from the command line, restore it now.
Now that you saved the transformed classes, you are ready to disable dynamic transformation support.
Add the following option: -Xbootclasspath/p:<ClassesDumpfolder>\Final where <ClassesDumpfolder> is the value of the folder in which the dynamically transformed classes were saved, such as C:\JavaSupportClasses. For example, after your modification the _JAVA_OPTIONS environment variable might look like this:
-Xbootclasspath/p:C:\JavaSupportClasses\Final -Xbootclasspath/a:C:\PROGRA~1\HPE\ UNIFIE~1\bin\JAVA_S~1\classes;C:\PROGRA~1\HPE\UNIFIE~1\bin\JAVA_S~1\classes\jasmine.jar