Hi All - First post; please don't /kill me.

I'd like to know if there's a URL one could use that would always link to the most recent release of Java [for Windows 7 x86]? This way I can periodically run a script that'll download the latest version of Java to our server for later distribution. (Versus clumsily doing it manually by navigating to download site.)

I've accomplished this for Silverlight (see below) but was hoping there was a way to do something similar.

Any thoughts?



if exist "\\server\share\path\to\wget.exe" (
echo. & echo Downloading Updated Version of Silverlight
title Downloading Updated Version of Silverlight - Please Wait . . .
"\\server\share\path\to\wget.exe" -t 1 -c -q -nv --user-agent="Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E)" -O "\\server\share\path\to\Microsoft Silverlight\Silverlight.exe" http://www.microsoft.com/getsilverlight/handlers/getsilverlight.ashx >nul 2>&1
@echo Silverlight Downloaded on %date% @ %time% by %username% on %computername% >> "%~dp0microsoft silverlight InstallLog.log"
)
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
Better yet would be a SCUP catalog as often as security vulnerabilities are identified in the JRE.
Answered 10/05/2011 by: joedown
Second Degree Brown Belt

Please log in to comment
Answer this question or Comment on this question for clarity