Java 8 Jre 64 Bits

The latest update seems to include what Windows Defender recognizes as a trojan called CryptInject? I searched it and it seems to modify the Windows registry. Is this necessary for the new version of the patch?