If you are upgrading your Java Dynamic Management Kit from versions 3.0 or 3.2, you are not required to uninstall the earlier version. Version 4.0 has different package names and a different installation structure that allows both old and new versions of the product to co-exist on the same machine.
However, if you are reinstalling version 4.0 of the Java Dynamic Management Kit, you should first remove your previous installation. This procedure is described in "Removing or Reinstalling the Java Dynamic Management Kit on a Solaris Platform". Then you may proceed to reinstall the current version.