LeMarchand Posted November 24, 2015 Posted November 24, 2015 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.
LeMarchand Posted November 25, 2015 Posted November 25, 2015 Still can't remember/work out where I got the MST from, but just opened it in ORCA and it just seems to change the update and reboot options. Have attached it anyway! Java 8.0.zip
JeffJ Posted November 25, 2015 Posted November 25, 2015 Thanks. I will give it a try, but have tried other MST's before too. Perhaps using GP vs SCCM is the magic.
JeffJ Posted November 25, 2015 Posted November 25, 2015 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.
LeMarchand Posted November 26, 2015 Posted November 26, 2015 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.
fantazma Posted January 30, 2016 Posted January 30, 2016 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
gerardsweeney Posted March 3, 2016 Posted March 3, 2016 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).
BlakeP Posted March 5, 2016 Posted March 5, 2016 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.
JasonNVSD Posted April 11, 2016 Posted April 11, 2016 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
jimmy_2k Posted April 21, 2016 Posted April 21, 2016 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 :-(
LeMarchand Posted April 21, 2016 Posted April 21, 2016 C:\Users\UserName\AppData\LocalLow\Oracle\Java I think. There's only the MSI now IIRC.
Arthur Posted April 21, 2016 Posted April 21, 2016 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
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now