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. 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). 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. UPDATE: I still continue to use this approach successfully, last time with 1.7.0_21 on win7
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. 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. Start -> Run ( Winkey+R) and then type in regedit to edit the registry.
Find Export it as a reg file to say, your desktop (right-click and select Export).Uninstall the JRE (Control Panel -> Add or Remove Programs).This should delete the key above, explaining the need to export it in the first place. 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".Double click modified reg file to add keys to your registry.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. Reg add add /v "Description" /t REG_SZ /d "Oracle Next Generation Java Plug-In" #CHROME INSTALL JAVA PLUGIN WINDOWS 7#