Java 8 update 25

Topics: Publishing Issue
Oct 23, 2014 at 11:20 AM
Edited Oct 23, 2014 at 11:21 AM
I can't get Java to work for updating all my clients, I followed the documention on this website.
Also tried the single msi file extracted from the .exe and configured it the same way as I did for Adobe Reader which is working by the way for Adobe Reader, but still no success. I noticed that this version doesn't have a cab file anymore?

Can someone help me with this package so I can populate Java 8 update 25 to all my x86 and x64 clients clients? I don't have other Java versions configured and working, but the clients do have older Java versions running.

Thnx!
Oct 23, 2014 at 12:21 PM
Edited Oct 23, 2014 at 12:21 PM
I have the same problem.

I have a virtual 32 bit Win7 on a 64 bit Win7 hostsystem.

I created a normal update with jre-8u25-windows-i586.exe
I changed the command line to
/s AUTO_UPDATE=0 EULA=0 NOSTARTMENU=1SPONSORS=0 WEB_ANALYTICS=0 WEB_JAVA=1 WEB_JAVA_SECURITY_LEVEL=H. This options should be work.
My 32 bit system has installed this update without problems but my 64 bit wont install it.
I did the same with the jre-8u25-windows-x64.exe file. Now the host installed the update to.
I tried on the 64 Bit host the installation manually with the options from above. The update was installed.

I tried also to creat a custom update with diffrent configurations.
One time no update error code FFF or 653
One time update would be fine (in Windows update consol) but under programs i can't find Java 8 update 25.
Next search for updates Windows shows an available update.

The WindowsUpdate.log shows no errors and the custom log only that the xml file was called.

Don't know what to do

To solve the problem with publishing Java 7 Update 72 like here https://wsuspackagepublisher.codeplex.com/discussions/570135 doesn't solve the problem.

Greetz Andreas
Coordinator
Oct 23, 2014 at 8:00 PM
I can't get Java to work for updating all my clients
Where does it fails ?
Also tried the single msi file extracted from the .exe and configured it the same way as I did for Adobe Reader
Which MSI product code do you have used ?
Nov 12, 2014 at 5:58 PM
You should try thecommand line without the /s

Is that really your command line backara? There is a missing space after the 1: [...]NOSTARTMENU=1SPONSORS[...]

I'am using this command line with the msi-files:
AUTO_UPDATE=0 EULA=0 SPONSORS=0 WEB_ANALYTICS=0 WEB_JAVA=1 WEB_JAVA_SECURITY_LEVEL=H
This works for me both for 32 and 64 bit
Dec 17, 2014 at 3:19 PM
Edited Dec 17, 2014 at 3:20 PM
Hello,

I have the same problem on a 64 bit machine with the 32 bit package.

64 bit package on 64 bit machine works.

I have tried with this command INSTALL_SILENT=1 SPONSORS=0 AUTO_UPDATE=0 WEB_ANALYTICS=0.

Here you have the last rows of jusched.log in the windows\temp folder:
Unable to open file C:\ProgramData\Oracle\Java\java.settings.cfg.
Check that the configuration file exists and that the path to the file is correct.
[2014/12/17 17:02:38.288, jre-8u25-32.exe (PID: 4568, TID: 4636), InstallConfigData.cpp:655 (InstallConfigData::ExportConfigSettings)]
    ERROR: Fails on writing to the runtime config file.
[2014/12/17 17:02:38.288, jre-8u25-32.exe (PID: 4568, TID: 4636), AllUtils.cpp:141 (logit)]
    INFO: Error occurred while exporting configuration settings. Exiting installer.
Trying without the /s and without the INSTALL_SILENT keep the update unresponsive. It seems the update is waiting an answer.

Tried to create the java.setting.cfg, not better. The update ended with an error.

Cheers,
Marco
Jan 22, 2015 at 8:40 PM
If you run across this again, please try installing with the MSI. You can get it from the EXE using the following process:
Install the JRE. The MSI can then be harvested from: C:\Users\<username>\AppData\LocalLow\Sun\Java\jre1.8.0_xx

I'm using the following switches:
INSTALL_SILENT=1 STATIC=0 AUTO_UPDATE=0 WEB_JAVA=1 WEB_JAVA_SECURITY_LEVEL=H WEB_ANALYTICS=0 EULA=0 REBOOT=0
Jan 27, 2015 at 6:54 AM
It works for me when i switched the "1" to enable and the "0" to disable:

INSTALL_SILENT=Enable STATIC=Disable AUTO_UPDATE=Disable WEB_JAVA=Enable WEB_JAVA_SECURITY_LEVEL=H WEB_ANALYTICS=Disable EULA=Disable REBOOT=Disable
Jan 30, 2015 at 8:28 AM
Hi,

i have another Problem in Java 8 Update 31.

I followed the documention Installing Java 7u21 without Java Auto Updater, but change following settings:
<CustomUpdate>
<Action>
<ElementType>CustomUpdateElements.VariableElement</ElementType>
<Name>Return Code</Name>
<Type>Int</Type>
<ID>299d085d-baf8-450f-b180-fc2fe2ad123f</ID>
</Action>
<Action>
<ElementType>CustomUpdateElements.ServiceElement</ElementType>
<ServiceAction>Stop</ServiceAction>
<ServiceName>JavaQuickStarterService</ServiceName>
<PathToEXE></PathToEXE>
<StartupMode>Undefined</StartupMode>
<StartingAccount>Undefined</StartingAccount>
<Login></Login>
<Password></Password>
</Action>
<Action>
<ElementType>CustomUpdateElements.ExecutableElement</ElementType>
<PathToExecutable>jre-8u31-windows-i586.exe</PathToExecutable>
<Parameters>INSTALL_SILENT=Enable STATIC=Disable AUTO_UPDATE=Disable WEB_JAVA=Enable WEB_JAVA_SECURITY_LEVEL=H WEB_ANALYTICS=Disable EULA=Disable REBOOT=Disable</Parameters>
<KillProcess>True</KillProcess>
<TimeBeforeKilling>10</TimeBeforeKilling>
<Variable>299d085d-baf8-450f-b180-fc2fe2ad123f</Variable>
</Action>
<Action>
<ElementType>CustomUpdateElements.WaitElement</ElementType>
<Wait>30</Wait>
</Action>
<Action>
<ElementType>CustomUpdateElements.ExecutableElement</ElementType>
<PathToExecutable>%windir%\System32\msiexec.exe</PathToExecutable>
<Parameters>/x {4A03706F-666A-4037-7777-5F2748764D10} /qn /norestart</Parameters>
<KillProcess>True</KillProcess>
<TimeBeforeKilling>10</TimeBeforeKilling>
<Variable/>
</Action>
<Action>
<ElementType>CustomUpdateElements.WaitElement</ElementType>
<Wait>30</Wait>
</Action>
<Action>
<ElementType>CustomUpdateElements.ServiceElement</ElementType>
<ServiceAction>Stop</ServiceAction>
<ServiceName>JavaQuickStarterService</ServiceName>
<PathToEXE></PathToEXE>
<StartupMode>Undefined</StartupMode>
<StartingAccount>Undefined</StartingAccount>
<Login></Login>
<Password></Password>
</Action>
<Action>
<ElementType>CustomUpdateElements.ServiceElement</ElementType>
<ServiceAction>ChangeStartingMode</ServiceAction>
<ServiceName>JavaQuickStarterService</ServiceName>
<PathToEXE></PathToEXE>
<StartupMode>Disabled</StartupMode>
<StartingAccount>Undefined</StartingAccount>
<Login></Login>
<Password></Password>
</Action>
<Action>
<ElementType>CustomUpdateElements.ReturnCodeElement</ElementType>
<ReturnCodeMethod>Variable</ReturnCodeMethod>
<StaticReturnCode>0</StaticReturnCode>
<Variable>299d085d-baf8-450f-b180-fc2fe2ad123f</Variable>
</Action>
</CustomUpdate>
Test machine is a Windows 7 x64 with Java 7 Update 55. The windows update shows me one important update.
After installing the update i´ve got the response that the update is correct installed, but one second later the same update will be installed again.
Programs and functions show me Java 7 Update 55 is still install.

The update creation wizard is set Package Type as an Application, normal and canRequestReboot

What´s going wrong?

Thnx!
Feb 2, 2015 at 10:11 PM
I followed the Java 7u21 guide as well. However I found the MSI Product code to be different for Java 8u31.

For Java 7u21 (from the guide)

Msi Product code for x86 is: 26A24AE4-039D-4CA4-87B4-2F83217021FF
Msi Product code for x64 is: 26A24AE4-039D-4CA4-87B4-2F86417021FF

For Java 8u31 I found the following uninstall key in the registry.
MsiExec.exe /I{26A24AE4-039D-4CA4-87B4-2F83218031F0}
MsiExec.exe /I{26A24AE4-039D-4CA4-87B4-2F86418031F0}

So I used the following when creating my Java 8u31 package in WPP and followed the 7u21 guide with these edits:

Msi Product code for x86 is: 26A24AE4-039D-4CA4-87B4-2F83218031F0
Msi Product code for x64 is: 26A24AE4-039D-4CA4-87B4-2F86418031F0
Feb 3, 2015 at 8:23 AM
I already use the MSI Product code: 26a24ae4-039d-4ca4-87b4-2f83218031f0

Thx, but an other solution has to be found.

It would be nice if someone use Java 8_31 and write\make a complet documentation.

I only found fragmented and not al hole solution. It is´n clearly if for Java 8_31 the documentation about Java 7_21 is a right solution or if we have to go another way to install Java since version 8.

Create an update or create a custom update?
Can i use the Java.exe file like the documentation or the Java.msi like some users say?

Thanks!
Feb 10, 2015 at 2:39 PM
Edited Feb 12, 2015 at 1:27 PM
This helped me create a MST to deploy java 8 u 31 via SCCM 2012
https://maddog2050.wordpress.com/2014/10/27/gpo-deploying-java-8-update-25/

Fixed the link.
Feb 11, 2015 at 8:12 AM
Hi,

link doesn´t work?!

Thx
Editor
Feb 19, 2015 at 6:50 AM
S_G wrote:
link doesn´t work?!
Link works, you have to copy and paste in your browser, don't click, if you only click you will redirect to example.com.
Editor
Mar 16, 2015 at 8:05 PM
For all who speak a little german, i have create a small tool for Uninstall any Java Version and Install any Java Version:
http://www.wsus.de/uninstall2install