Scan engine was installed before IM manager. Scan Engine 5.2 installs with Java Liveupdate version 3.0.27. IM manager install Java Liveupdate version 3.01.1. If you install Scan Engine first and then IM manager, the installations are both successfull however java liveupdate is upgrade to 3.01.1. If you then try to upgrade Scan Engine the above error will occur. Furthermore if you try to install scan engine after first installing IM manager the above error also occurs.
A workaround to this situation is to simply uninstall Java Liveupdate and proceed with the installation or upgrade.
To permanently resolve this issue install Scan Engine on a separate server.