When installing JDK on my machines (Windows 7), I do the following.
- install latest version 1.7 JDK with Oracle installer (JDK only, no JRE )
- copy the installation folder to the desired location, delete the samples, etc.
- remove java
- set% JAVA_HOME%, add% JAVA_HOME% \ bin to% Path%
Then I synchronize this folder on all my machines, so I update it (with unlimited cryptography material, jssecacerts , java.policy , supported libraries, etc.).
BUT , this has one big caveat, when Chrome should use a page load using Java, it believes that Java is not installed and wants to install it. I do not want to install it, as this can ruin my manual installation JDK.
So, is there a way to configure Chrome to use the JDK on my drive? I have a 32-bit version of the JDK and a 64-bit JDK, so this is not a problem (I think I will need to use the 32-bit version with Chrome).
I found a question in a Chrome project, How do I bind a Chrome Java plugin to an existing JDK without reinstalling Java? but no answers so far ...
UPDATE: for Ubuntu see Kalyan's answer
UPDATE: I still successfully use this approach, the last time from 1.7.0_21 on win7
UPDATE for 1.7.45: the path in the Windows registry is now [HKEY_LOCAL_MACHINE \ SOFTWARE \ MozillaPlugins]
java google-chrome plugins
Persimmonium May 11 '11 at 9:30 a.m. 2011-05-11 09:30
source share