Any idea if that'll run with the JRE (and without the SDK) assuming I include the tools.jar? Sure. The part I was having trouble with though was connecting to the correct VirtualMachine instance. The examples I found (in [jdk_install_dir]/demo/jpda/examples.jar) seem to be oriented toward debugging one JVM from another JVM. Makes sense if you're writing a debugger, but I don't know if that would work for you. I don't know if it's possible to use JPDA to get info on the same JVM you're running from. Probably, but it wasn't immediately clear how; I didn't have time to keep investigating. Please let me know if you find a good way to do it though.
(Assuming this technique sounds like it may work for your application.)
[ February 17, 2004: Message edited by: Jim Yingst ]