Port of old jmx console