2008-08-22

Standalone JConsole

Well, recently I had to tinker with JMX-enabled application, without installing the full JDK to bring up JConsole. So, I tried to continue stripping the JDK of irrelevant stuff while JConsole remains functional. So, here's what I ended up with:
jdk.root
  bin
    attach.dll // copied from jdk.root/jre/bin/attach.dll
    jconsole.exe
    jli.dll
    msvcr.dll
  lib
    jconsole.jar
    tools.jar
That worked fine for me. I've used JDK 1.6.0_05, the same JRE version was installed on PC's I was testing this on. DISCLAIMER: it's a dirty hack which is unsupported by the vendor and would apparently get broken for some other JDK/JRE version combinations.

3 comments:

sabinejuergen said...

Thanks! You helped me to save a lot of time.

Евгений said...

Thanks you and google for help!

Евгений said...

Thanks you and google for help!