Manage Learn to apply best practices and optimize your operations.

Helpful Java console commands

This tip provides a helpful list of Java console commands.

When writing or testing Java agents/applets, the Java console (in the Notes client) is a useful tool. Although the console is primarily for trapping Java output, I recently discovered that it also responds to a limited number of commands. I searched quite a bit before I finally found that these commands actually ARE documented here.

But since I'm probably not the only one who didn't know they existed (or maybe I am?) I thought I'd share the list of commands along with their descriptions:

d = Dump applet context state to console
f = Finalize objects on finalization queue
g = Garbage collect
h = Prints a help message, displaying most of these commands and their descriptions
m = Print current memory use to console
v = Java Version Information numeric keys 0 to 9 = set the "applet debug level" to that value

Do you have comments on this tip? Let us know.

This tip was submitted to the tip exchange by member Dallas Gimpel. Please let others know how useful it is via the rating scale below. Do you have a useful Notes/Domino tip or code to share? Submit it to our monthly tip contest and you could win a prize and a spot in our Hall of Fame.

Dig Deeper on Java for Lotus Notes Domino

  • Favorite iSeries cheat sheets

    Here you'll find a collection of valuable cheat sheets gathered from across the iSeries/ community. These cheat ...