Deploy Java Runtime

(imported topic written by jcochran197791)

Hi

I received the following request from one of our different areas of IT.

"The JAVA Runtime Engine (JRE) can be installed in silent mode using this command line:

jre-1_5_0_11-windows-i586-p.exe /s /v”/qn ADDLOCAL=ALL”

Sun Microsystems has disabled turning off the auto-update feature using the command line. Fortunately, the auto-update feature defaults to “Check once a month” and “notify me, but don’t install”. We will need to educate users not to install any updates, and provide directions on how to turn this off. Also, by using this command, the JRE doesn’t bind itself to Internet Explorer, so there shouldn’t be conflicts with the JRE that Lawson requires.

Operations -> We need to have you work on testing this on a sampling of users. If you need a copy of the JRE installation file, you can find it on \lzbs3004\netserv\Public\Software\Java. The correct one is jre-1_5_0_11-windows-i586-p.exe.""

I am thinking this can be done using BigFIx, but I really do not have the exact knowledge on how to go about doing so.

Can anyone help me?

Thanks,

(imported comment written by peterd91)

Hi jcochran1977,

If your question is how to create bigfix task to run that command line, try Wizards > Software Deployment Wizard in the BES Console

Regarding the auto-update feature you mentioned, the below may help you, or someone else facing the same problem.

At the time of installation, using the JAVAUPDATE=0 and AUTOUPDATECHECK = 0 parameters may not work as it’s been removed from the silent installer

What you can do, see if any of the below works for you, then it shouldn’t be a problem to create Bigfix fixlet to deploy it.

  • try the deployment.properties file, used for storing and retrieving deployment configuration properties in the Java Control Panel. It’s located at %UserProfile%\Application Data\Sun\Java\Deployment\

There may also be an (optional) System-Level deployment.properties file and it will get copied over to a new user profile when a new user logs in.

  • you can simply stop jusched.exe from running at startup, that’s the process that checks for updates.

To prevent it from running, you can use the DisallowRun under HKEY_ CURRENT_USER \ Software \ Microsoft \ Windows \ CurrentVersion \ Policies \ Explorer

  • set “PromptAutoUpdateCheck”=dword:00000000 and “EnableJavaUpdate”=dword:00000000 under

HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Update\Policy

Note that all the above may differ between XP and Vista

on a side note:

Disable Sun Java Console (in IE under Tools menu)

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\Ext\CLSID

“{08B0E5C0-4FCB-11CF-AAA5-00401C608501}”=“0”

Peter.