
Turned out that my problem was that Java plugin DLL is 64 bit which wouldn't work in 32 bit Chrome. I'm on Windows 7 64 bit and couldn't understand if I can manually enable JRE8 64 bit for Chrome. Note that you will have to change the Path. Reg add /v "Vendor" /t REG_SZ /d "Oracle Corp." Reg add /v "ProductName" /t REG_SZ /d "Oracle Java Plug-In" Reg add /v "GeckoVersion" /t REG_SZ /d "1.9" Reg add add /v "Description" /t REG_SZ /d "Oracle Next Generation Java Plug-In" On Windows 7 64-bit, I added the registry entry using the following script: off

The REGEDIT 4 prefix at the top of the file might only be required for Windows 7 64-bit. Double click modified reg file to add keys to your registry.Open the reg file exported to your desktop with a text editor (such as Notepad++).Įdit "Path" so that it matches the corresponding dll inside your JDK installation: REGEDIT Next Generation Java™ Plug-In".This should delete the key above, explaining the need to export it in the first place. Uninstall the JRE (Control Panel -> Add or Remove Programs).Find Export it as a reg file to say, your desktop (right-click and select Export).Start -> Run ( Winkey+R) and then type in regedit to edit the registry.Since the plugin installs the JRE, this key is set to a JRE path and therefore needs to be edited if you want Chrome to work with the JDK. UPDATE for 1.7.45: the path in the windows registry now is Īpparently, Chrome addresses a key in Windows registry when it looks for a Java Environment. UPDATE: I still continue to use this approach successfully, last time with 1.7.0_21 on win7 I found a question in the Chrome project, How do I have the Chrome Java plugin reference an existing JDK without reinstalling Java?, but no replies so far. I have both JDK 32-bit and JDK 64-bit, so that is not a problem (I guess I would need to use the 32-bit one with Chrome). So is there a way to configure Chrome so it uses the JDK in my disk?

I don't want to install it as it would mess with my 'hand-installed' JDK. Then I synchronise that folder in all my machines so I keep it updated (with unlimited cryptography stuff, jssecacerts, java.policy, endorsed libraries, etc).īUT this has one big caveat, when Chrome needs to use load a page that uses Java, it thinks Java is not installed and wants to install it.


When installing JDK in my machines (Windows 7), I do the following.
