Fix JmxTestCase.
Simplify JMX for 1.5 VMs with java.lang.management.