/build/static/layout/Breadcrumb_cap_w.png

Java 8 Update 20

Hi everyone,

 

I need some help to figure out how to deploy this new and fresh update of Java, the Java 8 Update 20.

 

I red somewhere there are some new features and what I can say is that I am no more able to deploy this software as before.

 

We are a school with thousands of Microsoft computers and I use to deploy Java Runtime over the GPO.

 

What I did in the past is:

 

1) download Windows x86 Offline source from here:

Java SE Runtime Environment 8 - Downloads

2) run the installer in a test computer

3) get the msi & data files in the extracted folder here:

C:\Users\username\AppData\LocalLow\Sun\Java

4) deploy using a script over group policy objects

 

Today, with the new Java 8 Update 20, it doesn't work anymore, the sources files under C:\Users\username\AppData\LocalLow\Sun\Java, are completely different.

 

I red here that we can get a msi file directly without having to extract it as I did:

JRE Installation for Microsoft Windows

 

It says that we can get these files:

  • MSI Enterprise Installer (for both 32-bit and 64-bit operating systems): jre-8version-windows-i586.msi and jre-8version-windows-x64.msi

 

I never heard about them before and would like to get them for sure but I can't find them.

 

Please, I need help, whether to find these files or to deploy the new Java 8 Update 20.

 

Thanks,


2 Comments   [ + ] Show comments
  • Hi all,

    I updated my Java Deploy GPO yesterday, but today all my stations freezed on the Welcome screen... Its stay on "Waiting..." message and just starts when I disable the Java Deploy GPO. I know that Deploy GPO works fine because I already use for about a year or more. I'm using the MSI extracted from offline installer downloaded from java.com website, there is something wrong with this file? I need change something on my GPO now with this new version ? - leonardolima 10 years ago
  • I managed the extraction as per the normal process just sans the cab file. I use sccm 2007 and used a batch file msiexec /i jre1.8.0_25.msi AUTO_UPDATE=0 EULA=0 NOSTARTMENU=1 SPONSORS=0 WEB_ANALYTICS=0 WEB_JAVA=1 WEB_JAVA_SECURITY_LEVEL=H /qb
    I use a batch file to uninstall 7u67 via the guid: MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F03217067FF} /qn /L*v "C:\javauninstall7u67.log" - J.M. 10 years ago

Answers (8)

Posted by: EdT 10 years ago
Red Belt
3
Having had a few minutes to look into this further, the MSI can be obtained by downloading the JDK (not the JRE) and then running it to the first dialog. The MSI can then be harvested from:
C:\Users\<username>\AppData\LocalLow\Sun\Java\jre1.8.0_20_x64
Having run this on my laptop I have checked the MSI with ORCA and it does indeed state in the property table that this is Java 8, etc.
In fact, the Oracle documentation for the JDK does mention that the MSI redistributable is included.

Comments:
Posted by: hartnegg 10 years ago
Senior Yellow Belt
1
The msi can still be extracted from the offline jre installer in the same way as before.
They just improved it a bit, it is now is self-contained: just one msi file, no cab and no mst any more.


Comments:
  • hartnegg, You mentioned no more .mst file? Just cracking into 8u25 deployed via sccm and I see/read no more cab file, however I don’t understand no more .mst file? How does on ego about their configurations? - J.M. 10 years ago
    • there is a new property in the msi file called ProductLanguage with default parameter 1033 = english. I will try changing it and see what happens.. - arezz 10 years ago
    • I am trying to package 8u25 as well. The MSI I extract wont install on it's own. I get the error "There is a problem with this Windows Installer package. A program required for this install to complete could not be run." I thought it is because of the missing Data1.cab file, but I guess it is gone by design. - ltrujillo 10 years ago
      • Trujillo, I get this with all of my installs too. Have yet to find a fix. A quick google search shows we are not the only one's having this issue. Differently an issue with Adobe installer.
        You might try this link. http://www.adminarsenal.com/admin-arsenal-blog/beat-java-error-1603-when-deploying - dhahn@providigm.com 10 years ago
    • I just found out that if you have an msi editor like winstle, orca, insted (www.instedit.com), or something similar, going to the media table and knocking out the # infront of data1.cab allowed the 32 bit java8u20 to install. I'd guess 8u25 would work the same. CJ Goggin - cj goggin 9 years ago
Posted by: ohoque 9 years ago
White Belt
0
Installation switch that I used for Java 8.25 on SCCM 2012:

msiexec /i jre1.8.0_25.msi JU=0 JAVAUPDATE=0AUTOUPDATECHECK=0 RebootYesNo=No WEB_JAVA=1 /q


Details can be found here:

http://www.ohoque.com/uncategorized/how-to-deploy-java-8-using-sccm-2012/

Posted by: gedwards82 10 years ago
White Belt
0
If you are trying to install Java 8 (I did it for java 8 u25) via managed install, this is how I did it.

1.) Create a new distribution for  j8u25
2.) Upload the msi
3.) Configure manually
4.) Input this into the command line      msiexec /i jre1.8.0_25.msi JU=0 JAVAUPDATE=0 AUTOUPDATECHECK=0 RebootYesNo=No WEB_JAVA=1 /q

5.) Don't prepend msiexec

This will silently install Java 8.  Just note that I only did this on a clean computer, I had already removed the older versions,

Comments:
  • Thanks I am struggling big time with 8u25 and sccm I have it installing with your cmd line of msiexec /i jre1.8.0_25.msi JU=0 JAVAUPDATE=0 AUTOUPDATECHECK=0 RebootYesNo=No WEB_JAVA=1 /q
    but would at the very least like to eliminate it from the start menu. seems like anything I add gets me a failure. - J.M. 9 years ago
Posted by: josue.mouco 10 years ago
Orange Belt
0
Dear all,

Since I posted on that I've been able to deploy Java 8 without any problem. Let me know you how:

  1. I download the offline installer exe there:
    http://www.oracle.com/technetwork/java/javase/downloads/index-jsp-138363.html#javasejdk
  2. I run the installer in my lab computer in order to collect the msi file extracted in the AppData folder
    --> the msi file itself is enough, no need more file as before
  3. Before deploying the new msi file, you must be sure that all current Java installation on clients are healthy. I noticed when the current Java doesn't work for some reason, the update failed! For that I have a script that check and fix bad Java installation.
  4. I deploy the msi file by GPO but through a script and NOT through the software installation inside the GPO where I had lots of problems through this way.
I show you my deployment process below. I have 2 folders and a script:
a0avOM.png
The Deployment folder contains all msi files and the Sources folder contains the Java source files like in the "Program Files" folder:
g3nFUd.png
I copied from my lab computer where I extacted the msi file.

Below I paste my script content. It will deploy the last Java 7 and Java 8 but for sure you can adapt it to your needs. What it does:
  1. Check if the last Java are already installed
  2. Uninstall old Java
  3. Install new Java
  4. Check the integrity of the last Java files
If you still have problems, I advise you to adapt the script to check the integrity files of current javas on clients BEFORE the upgrade. But for that, you need to have all java source files in the sources folder that is present in your production as I have:
lkQE27.png

Here start the script:

cls
@echo off

echo ************************************************
echo ************* Installation de Java *************
echo ************************************************

set SOURCEPATH=%~dp0
set SOURCE=%SOURCEPATH%Sources
Set LastJava7Version=7.0.720
set LastJava7Key="Java 7 Update 72"
Set LastJava7File=jre-7u72
Set LastJava8Version=8.0.250
set LastJava8Key="Java 8 Update 25"
Set LastJava8MSIFile=jre1.8.0_25
Set LastJava8EXEFile=jre-8u25

:START

:Java7
:: ------------------------------------------------------------------------------
::                                     Java 7
:: ------------------------------------------------------------------------------

:CheckLastJava7
REM Check if the latest Java 7 is installed
REG QUERY "HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall" /s /f %LastJava7Key% >nul 2>&1
if %errorlevel%==0 (
echo Last Java 7 installed
GOTO :CheckJava7
) ELSE (
echo Last Java 7 is not installed
GOTO :Uninstall7
)

:CheckJava7
if not exist "%PROGRAMFILES(X86)%\Java\jre7\bin\java.exe" (
echo Java 7 files are missing, patch in progress...
ROBOCOPY "%SOURCE%\%LastJava7Version%" "%PROGRAMFILES(X86)%\Java\jre7" /MIR /R:1 /W:1
GOTO :Java8
) ELSE (
echo Java 7 is correctly installed
GOTO :Java8
)

:Install7
echo Installing Last Java Update, please wait...
"%SOURCEPATH%Deployment\%LastJava7Version%\%LastJava7File%-windows-i586" /s
if exist "%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs\Java" (
    rmdir "%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs\Java" /s /q
)

:Java8
:: ------------------------------------------------------------------------------
::                                     Java 8
:: ------------------------------------------------------------------------------

:CheckLastJava8
REM Check if the latest Java 8 is installed
REG QUERY "HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall" /s /f %LastJava8Key% >nul 2>&1
if %errorlevel%==0 (
echo Last Java 8 installed
GOTO :CheckJava8
) ELSE (
echo Last Java 8 is not installed
GOTO :Uninstall8
)

:CheckJava8
if not exist "%PROGRAMFILES(X86)%\Java\%LastJava8MSIFile%\bin\java.exe" (
echo Java 8 files are missing, patch in progress...
ROBOCOPY "%SOURCE%\%LastJava8MSIFile%" "%PROGRAMFILES(X86)%\Java\%LastJava8MSIFile%" /MIR /R:1 /W:1
GOTO :EOF
) ELSE (
echo Java 8 is correctly installed
GOTO :EOF
)

:Install8
echo Installing Last Java Update, please wait...
msiexec /i "%SOURCEPATH%Deployment\%LastJava8Version%\%LastJava8MSIFile%.msi" /quiet
if exist "%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs\Java" (
    rmdir "%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs\Java" /s /q
)

GOTO :EOF

:: ------------------------------------------------------------------------------
::                            Uninstall Old Versions
:: ------------------------------------------------------------------------------

:Uninstall7
:: ------------------------------------------------------------------------------
::                                     Java 7
:: ------------------------------------------------------------------------------

REM JRE Runtime Environment 7.0 Update 67
MsiExec.exe /qn /norestart /X{26A24AE4-039D-4CA4-87B4-2F83217067FF}
REM JRE Runtime Environment 7.0 Update 67 (x64)
MsiExec.exe /qn /norestart /X{26A24AE4-039D-4CA4-87B4-2F86417067FF}

REM JRE Runtime Environment 7.0 Update 65
MsiExec.exe /qn /norestart /X{26A24AE4-039D-4CA4-87B4-2F83217065FF}
REM JRE Runtime Environment 7.0 Update 65 (x64)
MsiExec.exe /qn /norestart /X{26A24AE4-039D-4CA4-87B4-2F86417065FF}

REM JRE Runtime Environment 7.0 Update 60
MsiExec.exe /qn /norestart /X{26A24AE4-039D-4CA4-87B4-2F83217060FF}
REM JRE Runtime Environment 7.0 Update 60 (x64)
MsiExec.exe /qn /norestart /X{26A24AE4-039D-4CA4-87B4-2F86417060FF}

REM JRE Runtime Environment 7.0 Update 55
MsiExec.exe /qn /norestart /X{26A24AE4-039D-4CA4-87B4-2F83217055FF}
REM JRE Runtime Environment 7.0 Update 55 (x64)
MsiExec.exe /qn /norestart /X{26A24AE4-039D-4CA4-87B4-2F86417055FF}

REM JRE Runtime Environment 7.0 Update 51
MsiExec.exe /qn /norestart /X{26A24AE4-039D-4CA4-87B4-2F83217051FF}
REM JRE Runtime Environment 7.0 Update 51 (x64)
MsiExec.exe /qn /norestart /X{26A24AE4-039D-4CA4-87B4-2F86417051FF}

REM JRE Runtime Environment 7.0 Update 45
MsiExec.exe /qn /norestart /X{26A24AE4-039D-4CA4-87B4-2F83217045FF}
REM JRE Runtime Environment 7.0 Update 45 (x64)
MsiExec.exe /qn /norestart /X{26A24AE4-039D-4CA4-87B4-2F86417045FF}

REM JRE Runtime Environment 7.0 Update 40
MsiExec.exe /qn /norestart /X{26A24AE4-039D-4CA4-87B4-2F83217040FF}
REM JRE Runtime Environment 7.0 Update 40 (x64)
MsiExec.exe /qn /norestart /X{26A24AE4-039D-4CA4-87B4-2F86417040FF}

REM JRE Runtime Environment 7.0 Update 25
MsiExec.exe /qn /norestart /X{26A24AE4-039D-4CA4-87B4-2F83217025FF}
REM JRE Runtime Environment 7.0 Update 25 (x64)
MsiExec.exe /qn /norestart /X{26A24AE4-039D-4CA4-87B4-2F86417025FF}

REM JRE Runtime Environment 7.0 Update 21
MsiExec.exe /qn /norestart /X{26A24AE4-039D-4CA4-87B4-2F83217021FF}
REM JRE Runtime Environment 7.0 Update 21 (x64)
MsiExec.exe /qn /norestart /X{26A24AE4-039D-4CA4-87B4-2F86417021FF}

REM JRE Runtime Environment 7.0 Update 17
MsiExec.exe /qn /norestart /X{26A24AE4-039D-4CA4-87B4-2F83217017FF}
REM JRE Runtime Environment 7.0 Update 17 (x64)
MsiExec.exe /qn /norestart /X{26A24AE4-039D-4CA4-87B4-2F86417017FF}

REM JRE Runtime Environment 7.0 Update 15
MsiExec.exe /qn /norestart /X{26A24AE4-039D-4CA4-87B4-2F83217015FF}
REM JRE Runtime Environment 7.0 Update 15 (x64)
MsiExec.exe /qn /norestart /X{26A24AE4-039D-4CA4-87B4-2F86417015FF}

REM JRE Runtime Environment 7.0 Update 13
MsiExec.exe /qn /norestart /X{26A24AE4-039D-4CA4-87B4-2F83217013FF}
REM JRE Runtime Environment 7.0 Update 13 (x64)
MsiExec.exe /qn /norestart /X{26A24AE4-039D-4CA4-87B4-2F86417013FF}

REM JRE Runtime Environment 7.0 Update 11
MsiExec.exe /qn /norestart /X{26A24AE4-039D-4CA4-87B4-2F83217011FF}
REM JRE Runtime Environment 7.0 Update 11 (x64)
MsiExec.exe /qn /norestart /X{26A24AE4-039D-4CA4-87B4-2F86417011FF}

REM JRE Runtime Environment 7.0 Update 10
MsiExec.exe /qn /norestart /X{26A24AE4-039D-4CA4-87B4-2F83217010FF}
REM JRE Runtime Environment 7.0 Update 10 (x64)
MsiExec.exe /qn /norestart /X{26A24AE4-039D-4CA4-87B4-2F86417010FF}

REM JRE Runtime Environment 7.0 Update 9
MsiExec.exe /qn /norestart /X{26A24AE4-039D-4CA4-87B4-2F83217009FF}
REM JRE Runtime Environment 7.0 Update 9 (x64)
MsiExec.exe /qn /norestart /X{26A24AE4-039D-4CA4-87B4-2F86417009FF}

REM JRE Runtime Environment 7.0 Update 7
MsiExec.exe /qn /norestart /X{26A24AE4-039D-4CA4-87B4-2F83217007FF}
REM JRE Runtime Environment 7.0 Update 7 (x64)
MsiExec.exe /qn /norestart /X{26A24AE4-039D-4CA4-87B4-2F86417007FF}

REM JRE Runtime Environment 7.0 Update 6 (x64)
MsiExec.exe /qn /norestart /X{26A24AE4-039D-4CA4-87B4-2F86417006FF}
REM JRE Runtime Environment 7.0 Update 6
MsiExec.exe /qn /norestart /X{26A24AE4-039D-4CA4-87B4-2F83217006FF}

REM JRE Runtime Environment 7.0 Update 5 (x64)
MsiExec.exe /qn /norestart /X{26A24AE4-039D-4CA4-87B4-2F86417005FF}
REM JRE Runtime Environment 7.0 Update 5
MsiExec.exe /qn /norestart /X{26A24AE4-039D-4CA4-87B4-2F83217005FF}

REM JRE Runtime Environment 7.0 Update 4 (x64)
MsiExec.exe /qn /norestart /X{26A24AE4-039D-4CA4-87B4-2F86417004FF}
REM JRE Runtime Environment 7.0 Update 4
MsiExec.exe /qn /norestart /X{26A24AE4-039D-4CA4-87B4-2F83217004FF}

REM JRE Runtime Environment 7.0 Update 3 (x64)
MsiExec.exe /qn /norestart /X{26A24AE4-039D-4CA4-87B4-2F86417003FF}
REM JRE Runtime Environment 7.0 Update 3
MsiExec.exe /qn /norestart /X{26A24AE4-039D-4CA4-87B4-2F83217003FF}

REM JRE Runtime Environment 7.0 Update 2 (x64)
MsiExec.exe /qn /norestart /X{26A24AE4-039D-4CA4-87B4-2F86417002FF}
REM JRE Runtime Environment 7.0 Update 2
MsiExec.exe /qn /norestart /X{26A24AE4-039D-4CA4-87B4-2F83217002FF}

REM JRE Runtime Environment 7.0 Update 1 (x64)
MsiExec.exe /qn /norestart /X{26A24AE4-039D-4CA4-87B4-2F86417001FF}
REM JRE Runtime Environment 7.0 Update 1
MsiExec.exe /qn /norestart /X{26A24AE4-039D-4CA4-87B4-2F83217001FF}

REM JRE Runtime Environment 7.0 (x64)
MsiExec.exe /qn /norestart /X{26A24AE4-039D-4CA4-87B4-2F86417000FF}
REM JRE Runtime Environment 7.0
MsiExec.exe /qn /norestart /X{26A24AE4-039D-4CA4-87B4-2F83217000FF}
GOTO :Install7

:Uninstall8
:: ------------------------------------------------------------------------------
::                                     Java 8
:: ------------------------------------------------------------------------------

REM JRE Runtime Environment 8.0 Update 20 (32-bit)
MsiExec.exe /qn /norestart /X{26A24AE4-039D-4CA4-87B4-2F83218020F0}
REM JRE Runtime Environment 8.0 Update 20 (64-bit)
MsiExec.exe /qn /norestart /X{26A24AE4-039D-4CA4-87B4-2F83218020FF}

REM JRE Runtime Environment 8.0 Update 11 (32-bit)
MsiExec.exe /qn /norestart /X{26A24AE4-039D-4CA4-87B4-2F83218011FF}
REM JRE Runtime Environment 8.0 Update 11 (64-bit)
MsiExec.exe /qn /norestart /X{26A24AE4-039D-4CA4-87B4-2F83218011FF}

REM JRE Runtime Environment 8.0 Update 5 (32-bit)
MsiExec.exe /qn /norestart /X{26A24AE4-039D-4CA4-87B4-2F83218005FF}
REM JRE Runtime Environment 8.0 Update 5 (64-bit)
MsiExec.exe /qn /norestart /X{26A24AE4-039D-4CA4-87B4-2F86418005FF}

REM JRE Runtime Environment 8.0 (32-bit)
MsiExec.exe /qn /norestart /X{26A24AE4-039D-4CA4-87B4-2F83218000FF}
REM JRE Runtime Environment 8.0 (64-bit)
MsiExec.exe /qn /norestart /X{26A24AE4-039D-4CA4-87B4-2F86418000FF}
GOTO :Install8
Posted by: cj goggin 9 years ago
White Belt
0
I just sent it as a reply and didn't see it show up, so here we go again....

Get yourself a free msi editor like orca, winstle, Insted (www.instedit.com), whatever.
Open up the msi.  Go to the media table.  Edit the #data1.cab reference to data1.cab.
(get rid of the #)  save and launch.  It worked for the 32 bit jre msi for java 8 update 20.  I'd guess it'd work for the 8 update 25 too.  CJ Goggin
Posted by: leonardolima 10 years ago
White Belt
0
I updated my Java Deploy GPO yesterday, but today all my stations freezed on the Welcome screen... Its stay on "Waiting..." message and just starts when I disable the Java Deploy GPO. I know that Deploy GPO works fine because I already use for about a year or more. I'm using the MSI extracted from offline installer downloaded from java.com website, there is something wrong with this file? I need change something on my GPO now with this new version ?
Posted by: EdT 10 years ago
Red Belt
0

The Oracle website states: NEW Release: MSI Enterprise JRE Installer is a new MSI compatible installer that enables system administrators to install the JRE across the enterprise without end user interaction. Integrated with the MSI Installer is the Java Uninstall Tool which provides the option to remove older versions of Java from the system. The MSI Enterprise JRE Installer is only available as part of Java SE Advanced or Java SE Suite and is available to customers via MOS.
Red Arrow Learn More

That is how you get hold of the MSI versions.

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ