When you try to load a java application which depends on Jinitiator, Internet Explorer 8 will crash with the message: “Java Runtime Environment cannot be loaded from <\bin\hotspot\jvm.dll>”.
Unfortunately, Oracle has stopped supporting Jinitiator on IE8. In my own company, this meant a critical application for customer support could not be used with Windows 7, which supplies IE8 as default. Of course there alternatives such as Windows XP mode or streaming with a seamless Citrix window, but after a while I found a better solution.
In my scenario I’m using Oracle Jinitiator 220.127.116.11. Just install Jinitiator as you normally would do. Now the solution is to replace the jvm.dll file with another version. These versions can be found in the Java RE installations in the ‘client’ folder:
Copy the jvm.dll file from this folder to the following folder:
32-bit: C:\Program Files\Oracle\JInitiator 18.104.22.168\bin\hotspot\
64-bit: C:\Program Files (x86)\Oracle\JInitiator 22.214.171.124\bin\hotspot\
For me the jvm.dll from Java version 1.5.0 update 12 worked perfectly. It can be downloaded here.
Check if your application works in IE8. If you’re using an 64-bit machine, be aware to start the 32-bit version of Internet Explorer.
If it’s still not working, try another jvm.dll version. Just check the Java archive at Oracle for other Java RE versions. Once your application is working, it’s worth the effort of figuring out.