Replace custom jmx agent with jdk's