Platform(s): Windows 8, Windows 7, Vista, Windows XP, Windows 2000, Windows 2003, Windows 10
Java version(s): 6.0, 7.0, 8.0
During Java installation process, you get this error:
Java Runtime Environment cannot be loaded from </bin/hotspot/jvm.dll>
The problem could be either caused by corrupted registry keys or incomplete installation.
Delete the deployment.properties file
The deployment.properties file is usually located in: “C:\Documents and Settings\<username>\Application Data\Sun\Java\Deployment” (where username is your login name) directory. The installation process will create a new deployment.properties file.
To remove the deployment.properties file, follow these steps:
Click on Start > My Computer
Go to “\Documents and Settings” directory
Go to username sub-directory (username is your computer login name )
Go to Application Data\Sun\Java\Deployment directory