Java Console includes the following topics:
Java Console is a simple debugging aid that redirects any
System.err to the console window. It is available for applets
running with Java Plug-in and applications running with Java Web Start.
Java Console provides various options as shown below to make applet and application debugging easier.
An action/option is selected by typing its letter/number while the Java Console window has focus.
|c:||Clears the Java Console window.|
|f:||Triggers finalization on the objects in the finalization queue and then displays memory information. Memory refers to the current heap size used by the JRE. Free is the available memory that is free in the heap. The percent (xx%) is the free memory as a percent of the total heap size.|
|g:||Triggers garbage collection and displays memory information as described above.|
|h:||Displays help message, which is being described here.|
|l:||Displays a list of the cached
|m:||Displays heap memory usage as described above.|
|o:||Triggers logging, which directs output from the Java Plug-in Console to a log file.|
|p:||Reloads the proxy configuration.|
|q:||Causes the Java Console to disapper from the main screen.|
|r:||Reloads the policy configuration.|
|s:||Prints out the system properties. This is mostly for debugging.|
|t:||Prints out all the existing thread groups. The first group shown is
This removes (destroys) all
Modified jar files will be downloaded from the server when a page with an applet is refreshed or revisited if you first do this: type "x" in the Java Console to clear the Classloader cache.
|0-5:||This sets the trace-level options as described in the next section, Tracing and Logging.|
When Java Plug-in is running an icon is displayedin the taskbar for Windows or on the desktop for Solaris. When right-clicked, a menu option displays, allowing the user to Open/Hide the Java Console. Thus the user can open and hide the Java Console any number of times within the same browser session.
Java Console may be shown, hidden, or not started at startup time, as configured through the Java Control Panel in the Advanced tab.