←  AutoPatcher Addon & Extras Module Depot

AutoPatcher Forum

»

Java Runtime Environment (JRE) Addon Pack

DesertJerry's Photo DesertJerry 25 Dec 2011

Have no idea why the jump to Java 8 but the latest is: jre-8-ea-bin-b18-windows-i586-21_dec_2011.exe - which tells me they are already on beta version 18 (32 and 64 bit). Also Update2 for JRE7 has been mentioned by others as being available.
Quote

DCS78's Photo DCS78 06 Jan 2012

Here are my scripts for Java 7. Keep in mind that this will only add the files to the autopatcher install list and has will be overwritten by the autopatcher updater if java is selected.

You have to download it yourself (http://www.oracle.co...java/index.html) and manually place the files in a folder: modules\AddOns\java_files. This file goes in: modules\AddOns as either Java_x86.apm or Java_x64.apm

Java_x86.apm
[AutoPatcher 5.6 Module]
[General]
Title=Java RE 7 Update 2 (x86)
Description=Java allows you to play online games,chat with people around the world,calculate your mortgage interest,and view images in 3D,just to name a few. It's also integral to the intranet applications and other e-business solutions that are the foundation of corporate computing.
Author=Oracle
ModuleAuthor=DCS78
WebPage=http://www.oracle.com/technetwork/java/index.html
ReleaseDate=20111117
[Behavior]
ParentID=WINDOWS_ADDONS_PARENT
UniqueID=JAVA_7_2_X86
Critical=False
Recommended=True
AutoExpand=False
Depends=
TimeToInstall=60
TimeToRemove=60
RequiresReboot=False
ModuleFolder=java_files
[DetectionRegistry]
RegistryPath=HKLM\SOFTWARE\JavaSoft\Java Runtime Environment
KeyName=Java6FamilyVersion
KeyValue=1.7.0_02
[DetectionFile]
FilePath=C:\Program Files (x86)\Java\jre7\bin
FileName=java.exe
FileVersion=7.0.20.13
[OperatingSystem]
WindowsVersion=ANY
SystemLanguage=ANY
[SystemComponents]
InternetExplorer=ANY
WindowsMediaPlayer=ANY
DotNetFramework=ANY
WindowsInstaller=>3.0
DirectX=ANY
MSNMessenger=ANY
[OfficeComponents]
Word=ANY
Excel=ANY
PowerPoint=ANY
Outlook=ANY
Publisher=ANY
Visio=ANY
Project=ANY
OneNote=ANY
FrontPage=ANY
InfoPath=ANY
Access=ANY
SharePointDesigner=ANY
Groove=ANY
[Installation]
"Module:\jre-7u2-windows-i586.exe" /s /v "/qn REBOOT=Suppress"
[Removal]
"Module:\jre-7u2-windows-i586.exe" /s /v "/qn REBOOT=Suppress" /x
[Slipstream]

Java_x64.apm
[AutoPatcher 5.6 Module]
[General]
Title=Java RE 7 Update 2 (x64)
Description=Java allows you to play online games,chat with people around the world,calculate your mortgage interest,and view images in 3D,just to name a few. It's also integral to the intranet applications and other e-business solutions that are the foundation of corporate computing.
Author=Oracle
ModuleAuthor=DCS78
WebPage=http://www.oracle.com/technetwork/java/index.html
ReleaseDate=20111117
[Behavior]
ParentID=WINDOWS_ADDONS_PARENT
UniqueID=JAVA_7_2_X64
Critical=False
Recommended=True
AutoExpand=False
Depends=
TimeToInstall=60
TimeToRemove=60
RequiresReboot=False
ModuleFolder=java_files
[DetectionRegistry]
RegistryPath=HKLM\SOFTWARE\Wow6432Node\JavaSoft\Java Runtime Environment
KeyName=Java6FamilyVersion
KeyValue=1.7.0_02
[DetectionFile]
FilePath=C:\Program Files\Java\jre7\bin
FileName=java.exe
FileVersion=7.0.20.13
[OperatingSystem]
WindowsVersion=ANY
SystemLanguage=ANY
[SystemComponents]
InternetExplorer=ANY
WindowsMediaPlayer=ANY
DotNetFramework=ANY
WindowsInstaller=>3.0
DirectX=ANY
MSNMessenger=ANY
[OfficeComponents]
Word=ANY
Excel=ANY
PowerPoint=ANY
Outlook=ANY
Publisher=ANY
Visio=ANY
Project=ANY
OneNote=ANY
FrontPage=ANY
InfoPath=ANY
Access=ANY
SharePointDesigner=ANY
Groove=ANY
[Installation]
"Module:\jre-7u2-windows-x64.exe" /s /v "/qn REBOOT=Suppress"
[Removal]
"Module:\jre-7u2-windows-x64.exe" /s /v "/qn REBOOT=Suppress" /x
[Slipstream]

Edited by DCS78, 06 January 2012 - 03:27 AM.
Quote

ViroMan's Photo ViroMan 06 Jan 2012

Ha, you are quite the busy little bee. Thanks for all the updates. I will see about working some/all of them into the release list.

Edit:
Java is now listed in releases.list as:
Java RE 7 Update 2 (x86)
Java RE 7 Update 2 (x64)

Created scripts to do the downloading. Copied DCS78' APM files. NO .rti files yet though. (apup's won't be happy about that, they will keep downloading each time you run apup)
NOTE: I had to make changes to the x86 apm due to C:\Program Files (x86) not existing in a true x86 system not to mention people can modify where the program files directory is with windows install scripts.
Quote

DCS78's Photo DCS78 06 Jan 2012

I hadn't thought about native x86 support.
That is quite a task trying to keep general compatability.

Just remembered the solution I saw in someone elses code:

FilePath=progfiles:\Java\jre7\bin

What do you use to edit the rti files. I've not been able to figure them out.

Also, I found a program that you might want to add to the tools:
http://getmd5checker.com/download
Edited by DCS78, 06 January 2012 - 08:00 AM.
Quote

ViroMan's Photo ViroMan 06 Jan 2012

RTI files are signed files made with an RTI tool. We use them to sign the downloads as official but, I can't remember how to use it at the moment. lol I will probably sign the downloads tomorrow. ohh wait... I guess since its 1am I mean later today.
Also as for using progfiles: I can't remember if that works for x64 systems as well(as in does it report the x86 dir or the x64 dir). I will also look into that.
Quote

Whatacrock's Photo Whatacrock 09 Jan 2012

I ran APUP2 this morning and once the release list was displayed noticed the date on Java x86 and x64 was for 17th November.
Just to let you know
CHeers
Quote

ViroMan's Photo ViroMan 09 Jan 2012

I used the date of the credentials on the javas since I didn't know when they came out. They were signed on NOV 17th.
Quote

Whatacrock's Photo Whatacrock 10 Jan 2012

Hey Viroman, reran the updater after reading your post and still showing errors with the java x86 and x64 releases.Autopatcher displays as an unofficial/unsupported version and when I checked the reases info it shows GuitarMike and Cristiano with a date of 20111001 with the official column stating false. Just to let you know
Cheers
Quote

ViroMan's Photo ViroMan 10 Jan 2012

Sorry about that... that is because of the old RTI file. I forgot to replace them with new ones. I will do that some time today.


Edit: I should stop saying I will do it later when I mean I will do it in 10 mins. Its done.
Quote

Whatacrock's Photo Whatacrock 10 Jan 2012

Well done Viroman and also to DCS78 for his work on the script.
All good now....Time to make an updated disc.
Cheers
Bruce
Quote

DCS78's Photo DCS78 12 Jan 2012

Viroman - FYI, There is a small detection glitch in the new Java scripts.

KeyName=Java6FamilyVersion
to
KeyName=Java7FamilyVersion

Looks like you have your hands full keeping up but your doing a great job.
Quote

ViroMan's Photo ViroMan 12 Jan 2012

bah! bad dcs78 bad. I used your apm. Posted Image

although its my fault too... I should have checked it. Posted Image although I don't really need to make the change due to the file detection working. I will eventually get to it though.
Quote

click-click's Photo click-click 26 Jan 2012

View PostViroMan, on 12 January 2012 - 05:00 AM, said:

bah! bad dcs78 bad. I used your apm. Posted Image

although its my fault too... I should have checked it. Posted Image although I don't really need to make the change due to the file detection working. I will eventually get to it though.

There is no file detection in the apm that APUP downloaded so it will not detect correctly until Keyname is changed.
Edited by click-click, 26 January 2012 - 08:25 PM.
Quote

ViroMan's Photo ViroMan 26 Jan 2012

I thought I did change it

edit: huh... I guess not... Its fixed now.
Quote

click-click's Photo click-click 26 Jan 2012

Works now. Thanks..
Quote

Whatacrock's Photo Whatacrock 01 Feb 2012

Ran upup2 this morning and ran into the verification failure whereupon I ran autopatcher to find it stating unofficial/unsupported version.Looking in it from the release info found the culprit to be Java x64 stating status as false.

Just a heads up
Quote

ViroMan's Photo ViroMan 01 Feb 2012

hmm strange..it was working... wonder what changed. Ohh well its fixed now... somehow the rti became wrong.
Quote

Whatacrock's Photo Whatacrock 01 Feb 2012

Still the same.... I shredded the apm, rti, and file from autopatcher , ran the updater again and same result as before.
Quote

ViroMan's Photo ViroMan 01 Feb 2012

try using apup instead of apup2(it has that caching bug)
Quote