fix jmx and mjprof.bat