running jmx code