Jump to content

Recommended Posts

Posted
Thanks for the info. Can't get it to work at all. Can you tell me more about your deployment that is working? You mentioned GP. Computer or User policy?

 

It fails for me just running psexec -si cmd then running msiexec /i jre.msi. I think this is what computer policy would run as also. Works if I run as admin, but under system account it fails on Win 8/10.

 

Thanks

 

Just pushed out using GP as a Computer Policy with an MST. At different site tomorrow, will check it's all working there. Wish I could remember how/where I got the MST. This is the most likely place, but a quick search didn't find it. Might have followed a tutorial. Got a bit on tomorrow, but will try to rack my brains.

Posted
Nope. The machines I'm trying on don't have Java 8 on them already too. I wonder if it works for upgrade and not new install maybe? I think I'll just give up and stay a Java 7 shop for now :-( Wait for Oracle to figure it out.
Posted
Nope. The machines I'm trying on don't have Java 8 on them already too. I wonder if it works for upgrade and not new install maybe? I think I'll just give up and stay a Java 7 shop for now :-( Wait for Oracle to figure it out.

 

Stumped. works for me across 3 different schools with varying server/client architectures.

  • 2 months later...
Posted

I have deployed successfully java 8 from SCCM 2012.

 

Just create cmd file with below command :

REM Uninstall old Java 32 bit

Start /wait msiexec.exe /x {Product code of your older java 32 bit} /qn /norestart /l*

 

 

REM Uninstall old java x64

Start /wait msiexec.exe /x {Product code of your older java 64bit} /qn /norestart /l*

 

 

REM Install Java 8 x32

start /wait msiexec /i "%~dp0jre1.8.0_40x32.msi" JU=0 JAVAUPDATE=0 AUTOUPDATECHECK=0 RebootYesNo=No WEB_JAVA=1 /q /l*

 

REM Install Java 8 X64

start /wait msiexec /i "%~dp0jre1.8.0_40x64.msi" JU=0 JAVAUPDATE=0 AUTOUPDATECHECK=0 RebootYesNo=No WEB_JAVA=1 /q /l*

 

You can set the logs for tracking results.

 

For more information look on Deploy Java 8 blog. Very helpful.

 

Best Regards

  • 1 month later...
Posted

For our Java installs, I have a custom written AutoIT script which parses Add/Remove programs for any Java installs that aren't the one(s) you're wanting to install.

It uses the EXE version to install, not the MSI.

Happy to send a copy of the source to you, so long as you don't wet yourself at the utterly shonky AU3 code :)

 

I haven't tested this on SCCM yet - we're getting this installed as we speak.

It does, however, work quite happily on our Altiris DS6.9 software deployment.

It also works if you just double click on the script (since all the DS job does is run the exe script).

Posted
Extract and use the MSI. That way, you can add logging to the process. You can also use a transform to add the deployment files. Without those in place - and I strongly advise you to use the system wide scenario - your users will be badgered with the 'out of date' message when Oracle decides to update JRE.
  • 1 month later...
Posted
Creating the C:\ProgramData\Oracle\Java\java.settings.cfg before installing the MSI allows me to deploy Java 8 Update 25 via SCCM.

Thank you! You saved my sanity.

 

I'm not using the MSI, so this is my simple install script that works with SCCM:

robocopy %~dp0 "%ALLUSERSPROFILE%\Oracle\Java" "java.settings.cfg"
"%~dp0jre-8u77-windows-x64.exe" INSTALLCFG="%ALLUSERSPROFILE%\Oracle\Java\java.settings.cfg" /s

 

AUTO_UPDATE=Disable stops it from auto-updating, but it still installs the Updater and adds a startup key for it. So to completely obliterate it, I add:

msiexec /x {4A03706F-666A-4037-7777-5F2748764D10} /quiet /norestart
reg delete "HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Run" /v "SunJavaUpdateSched" /f

  • 2 weeks later...
Posted
Hi all, I hate to resurect an old thread. I am trying to update my workstations to the latest version of Java. However, it looks like Java have changed the location where the MSI and other files are unpacked. It used to be C:\Users\username\AppData\LocalLow\Sun\Java\Deployment. I have run the latest offline installer and it doesn't write any files here anymore :-(
Posted
I have run the latest offline installer and it doesn't write any files here anymore :-(

The MSI is saved to...

 

%USERPROFILE%\AppData\LocalLow\Oracle\Java

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...