Do a better job ignoring errors when JMX is not supported by the platform. (Android etc.)