Changed to installMbeanServer public and to compile in JDK 7