We help IT Professionals succeed at work.

Disable Java VM vs Disable Java JRE Auto Download

walterog
walterog asked
on
Medium Priority
4,365 Views
Last Modified: 2012-05-11
Hello,

I was able to disable Java Auto-Update by using the method that posted in here. However, I do have a question.

I checked JAVA Control Panel, under The ADVANCE option, -----> JRE Auto Update marked as "Always auto-download"

Now, we are planning to deploy 60 computers with "NO" updates in any computers. What we had done is disabled Java Auto Update by using:

 
[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Update\Policy]
"EnableAutoUpdateCheck"=dword:00000000

Open in new window


And it worked like charm.

To disable Auto JRE-AUTO Download, Do I have perform another task? If I do, I preferred to use reg. unpack method, but I also open for another option as well.

Please advice,

Thanks
Comment
Watch Question

Author

Commented:
bump.

Auto update is disable for JAVA VM but why Java RE "Option to download box" still appears at JAVA Control panel?
CERTIFIED EXPERT
Distinguished Expert 2019

Commented:
According to objects, it say:-

"Auto Updates enables Java to regularily check for the latest version of java and install the latest version when it becomes available.

Java in the browser also has the ability to request what version of Java it needs to run. If the required version of java is not available the setting "Always Auto-download" enables the browser to download and install a new JRE (so you end up with multiple versions installed)

Some background on setting these options here
http://community.sagecrm.com/user_community/b/sage_crm_news/archive/2010/11/10/staying-up-to-date.aspx "

Source: https://www.experts-exchange.com/Programming/Languages/Java/Q_26895146.html
CERTIFIED EXPERT
Distinguished Expert 2019

Commented:
"To disable Auto JRE-AUTO Download, Do I have perform another task? If I do, I preferred to use reg. unpack method, but I also open for another option as well." <- I think that you need to run a batch file to replace a file called "deployment.properties" at the location below.

C:\Users\[User Name]\AppData\LocalLow\Sun\Java\Deployment

The new "deployment.properties" file should read like the one below:-

 
#deployment.properties
#Mon Apr 25 20:25:24 CST 2011
deployment.javaws.autodownload=NEVER
deployment.version=6.0
deployment.capture.mime.types=true
deployment.browser.path=C\:\\Program Files\\Mozilla Firefox\\firefox.exe
#Java Deployment jre's
#Mon Apr 25 20:25:24 CST 2011
deployment.javaws.jre.0.product=1.6.0_24
deployment.javaws.jre.0.registered=true
deployment.javaws.jre.0.osname=Windows
deployment.javaws.jre.0.platform=1.6
deployment.javaws.jre.0.path=C\:\\Program Files\\Java\\jre6\\bin\\javaw.exe
deployment.javaws.jre.0.location=http\://java.sun.com/products/autodl/j2se
deployment.javaws.jre.0.enabled=true
deployment.javaws.jre.0.osarch=x86

Open in new window


The above code is just an example. You should open and edit your own "deployment.properties" file and add deployment.javaws.autodownload=NEVER after #deployment.properties

Source: http://efreedom.com/Question/1-4029961/Windows-Registry-JRE-Autodownload-Option-Java-Control-Panel
CERTIFIED EXPERT
Distinguished Expert 2019
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION

Author

Commented:
Solved!

For future reference, anyone that have planning to do this in Window 7 64bits environment, the "deployment.properties" file can be found here.

"deployment.properties" file in in
C:\Windows\SysWOW64\config\systemprofile\AppData\LocalLow\Sun\Java\Deployment

Open in new window

CERTIFIED EXPERT
Distinguished Expert 2019

Commented:
Glad to know that you have solved the problem and thanks for giving the info for windows 7 64 bit.

I have access to 32 bit OS only and cannot provide the info that you got.

Cheers!
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.