The Java Options dialog displays information about Java Virtual Machines (JVM) installed on your computer and lets you choose the one that AQTime will use by default to run the profiled Java applications. To open the dialog:
-
Select Options > Options from AQTime’s main menu. This will open the Options dialog.
-
Select the Services > Java Support group in the tree view on the left of the Options dialog.
-
Select Tools > Options from the main menu of Visual Studio. This will invoke the Options dialog.
-
Select the AQTime > Services > Java Support group in the dialog.
-
Select AQTime > Options from the main menu of RAD Studio. This will invoke the Options dialog.
-
Select the Services > Java Support group in the tree view on the left of the Options dialog.
The following options are available:
-
Default Java Runtime - Specifies the JVM, among those listed in the Available Java Runtime versions table, that AQTime uses to run and profile Java applications. The system default JVM is originally selected.
-
Use console Java launcher - Select this option if you want to use a console Java launcher to run your Java applications during the profiling session. In this case, if a profiled Java application fails for some reason, the error information is written to the launcher console window. Otherwise, if you want the launcher console window not to appear during the profiling session, disable this option.
Note: If this option is disabled and an exception occurs in the profiled application, the application may still attempt to post information on the exception to the console window that is not present, which, in its turn, also causes an exception. Note that regardless of whether the option is enabled or disabled, AQTime posts information on exceptions that occur in the profiled application to the Event View panel.
-
Available Java Runtime versions - This table lists all JVMs that are installed on your computer and can be used to run the profiled Java applications. (For more information about supported JVMs, see System Requirements.)
The table has the following columns:
Column Description Version The Java version. For example, jre1.6.0_21. Platform The bitness of the Java platform -- x86 or x64. Path The fully-qualified path to the Java application launcher. For example, C:\Program Files\Java\jre6\bin\java.exe. System Default This check box is selected if the JVM is the system's default one. The system's default JVM is specified in the Java Control Panel applet in Windows Control Panel. Note: To run your profiled Java application using a JVM that is not listed in this table, specify the path to the corresponding Java application launcher in the Specify custom host application setting for your application. -
List of filters for java exceptions - The list holds Java classes in which you want AQTime to ignore exceptions. Once a class is added and enabled in the list, AQTime ignores all exceptions occurring in this class during the profiling and posts no information on them to the Event View panel.
To add a new class to the list, click Add and specify the full name of the desired class (for example, java.lang.class_name). Note that you can use the * wildcard in class names where the asterisk corresponds to a string of any length.
To remove a class, select it in the list and click Remove.
Instead of removing a class, you can temporarily disable it. To do that, clear the check box next to the class name.
See Also
Options Dialog
Profiling Java Applications
Profiling Java Archives
Profiling Java Classes
Run Parameters Dialog (for Normal Mode)