Jump to content

Using up-to-date JRE on WinXP


Comos

Recommended Posts

Hi everyone,

some time ago I have noticed that Java updates after jre1.8.0_51 are not possible to install on my WinXP. I tried also the standalone msi file,but then it prompts an issue with the MS installer.

Any idea if there is a workaround/fix for this on WinXP?

Thanks.

msierror.jpg

Link to comment
Share on other sites


Java 8 was not originally designed with Windows XP in mind, and the earliest installers actually failed on it.

Java 8 Update 25 included a fix to allow it to install on XP: https://blogs.oracle.com/henrik/entry/the_future_of_java_on

Do you have Service Pack 3 installed? I experience no issues running the installer on XP Professional. The installer recommends a new Windows version, but it is not required: https://www.java.com/en/download/faq/winxp.xml

"Can I still install the latest Java on Windows XP? I see the message Java 8 requires a newer version of Windows. You may continue with the installation, but for Java to work as specified we recommend upgrading your computer's operating system.

Yes. As noted, users may still continue to use Java 8 on Windows XP at their own risk, but we can no longer provide complete guarantees for Java on Windows XP, since the OS is no longer being updated by Microsoft."

I always recommend the offline installer; I've experienced issues in the past with the online installer.

java8.jpg

java8_2.jpg

Link to comment
Share on other sites

Don't know if this will help with getting a working version (Archives) -
http://www.oracle.com/technetwork/java/javase/downloads/java-archive-javase8-2177648.html

I have U40 of the JRE but can't remember if I installed it. It's in a folder named "v8 WinXP+" (I keep the Major Versions separated and which OS they work on).

Link to comment
Share on other sites

SP3 I have on my system, so no problem with that. I never had a problem with Java 8 instalation up to update 51 like I mentioned. Offline instalations I used all the time. The issue is with the Java updates that come after update 51, example the update 77 like I posted on the screenshot.The installer normally starts but does not finish for an unknown reason and gives this error message.

Link to comment
Share on other sites

Looks like U51 (according to you) may be the last one Oracle is going to allow XP to install then. You're aware that MS (and everyone else) wants it (and Vista) to die a horrible death, right? Unless the MSI can be "hacked". :unsure:

Link to comment
Share on other sites

6 hours ago, sdfox7 said:

Comos

The problem you are having is error code 1722: https://www.java.com/en/download/help/error_1722.xml

I would try the Java uninstaller to remove all traces of Java on your system, and then try installing it again: https://java.com/en/download/faq/uninstaller_toolinfo.xml

Nope, if I'll try the Java Offline installer then I got 1603 error.If I try just the standalone msi file then it prompts that error with installer what I posted above.

I already tried to uninstall, remove all crap by JavaRa, but all what I can install is the update 51 and not the latest, dunno why.

Link to comment
Share on other sites

Which version of MSI (Microsoft / Windows Installer) do You have on Your system? If the answer is 3.x then try updating MSI to 4.5 and install all latest security updates for MSI 4.5

Edited by Bersaglio
typo fix
Link to comment
Share on other sites

2 hours ago, Bersaglio said:

Which version of MSI (Microsoft / Windows Installer) do You have on Your system? If the answer is 3.x then try updating MSI to 4.5 and install all latest security updates for MSI 4.5

The MSI version is 4.5.6001.22159 as I check.

I went through the log files and find some intersting parts.Since my WinXP is in CZ language, I will have to translate some specific errors.

This log comes when I run the normal java offline installer:

2016/04/16 14:42:08.515, jre-8u77-windows-i586.exe (PID: 6080, TID: 6084), AllUtils.cpp:102 (logit)]
    INFO: Wrapper: Execute MSI ...
[2016/04/16 14:42:08.515, jre-8u77-windows-i586.exe (PID: 6080, TID: 6084), UIThread.cpp:91 (ui::`anonymous-namespace'::initDPIAware)]
    ERROR: Exception with message 'Dll.cpp(48) at Dll::getFunction(): GetProcAddress(C:\WINDOWS\system32\user32, SetProcessDPIAware) failed. System error [127](system error 127 (Uvedená procedura nebyla nalezena))' caught

[2016/04/16 14:42:32.718, installer.exe (PID: 5296, TID: 5300), RegInstallJRE.cpp:91 (InstallJRE)]
    ERROR: Exception with message 'unzip.cpp(223) at ZipFile::ZipFile(): ZIP_Open(C:\Documents and Settings\All Users\Data aplikací\Oracle\Java\installcache\newimage) failed. Error: unknown' caught
[2016/04/16 14:42:32.718, installer.exe (PID: 5296, TID: 5300), RegInstallJRE.cpp:93 (InstallJRE)]
    ERROR: -- Exec: unzipping() failed.
[2016/04/16 14:42:32.718, installer.exe (PID: 5296, TID: 5300), installer.cpp:77 (WinMain)]
    ERROR: Install Error: 61002

    INFO: -- Running RegisterDeploy(FALSE)
[2016/04/16 14:42:33.734, MSI3.tmp (PID: 3940, TID: 2308), DeployLibLoader.cpp:20 (DeployLibLoader::DeployLibLoader)]
    INFO: DeployLibLoader: javaHome is C:\Program Files\Java\jre1.8.0_77
[2016/04/16 14:42:33.734, MSI3.tmp (PID: 3940, TID: 2308), DeployLibLoader.cpp:25 (DeployLibLoader::DeployLibLoader)]
    INFO: msvcrLib path is C:\Program Files\Java\jre1.8.0_77\bin\msvcr100.dll
[2016/04/16 14:42:33.734, MSI3.tmp (PID: 3940, TID: 2308), DeployLibLoader.cpp:28 (DeployLibLoader::DeployLibLoader)]
    ERROR: Failed to load msvcr library
[2016/04/16 14:42:33.734, MSI3.tmp (PID: 3940, TID: 2308), regdeploy.cpp:253 (RegisterDeploy)]
    ERROR: Exception with message 'Failed to load msvcr library' caught
[2016/04/16 14:42:33.734, MSI3.tmp (PID: 3940, TID: 2308), RegInstallShare.cpp:47 (UninstallJRE)]
    INFO: -- Exec: RegisterDeploy(FALSE) failed.
[2016/04/16 14:42:33.734, MSI3.tmp (PID: 3940, TID: 2308), uninstaller.cpp:148 (WinMain)]
    INFO: Not running C:\Program Files\Common Files\Java\Java Update\jaureg.exe as it doesn't exist.
[2016/04/16 14:42:34.125, jre-8u77-windows-i586.exe (PID: 6080, TID: 6084), MsiUtils.cpp:310 (msi::`anonymous-namespace'::makeMessage)]
    ERROR: Exception with message 'Resources.cpp(65) at Resource::getPtr(): cannot find resource (name='#1603', type='#6'). System error [1813](system error 1813 (V souboru bitovĂ© kopie nelze nalĂ©zt zadanĂ˝ typ prostĹ™edku))' caught
[2016/04/16 14:42:34.125, jre-8u77-windows-i586.exe (PID: 6080, TID: 6084), WrapperOffline.cpp:188 (ExecCommand)]
    ERROR: Exception with message 'MsiUtils.cpp(353) at msi::`anonymous-namespace'::handleMsiStatus(): MsiInstallProduct(C:\Documents and Settings\Comos\Data aplikací\Oracle\Java\jre1.8.0_77\jre1.8.0_77.msi, ) failed. MSI error [1603]' caught
[2016/04/16 14:42:34.125, jre-8u77-windows-i586.exe (PID: 6080, TID: 4728), BrowserWindow.cpp:223 (ui::BrowserWindow::scale2systemDPI)]
    TRACE: systemDPI: [96, 96] scaled [500, 354] to [500, 354]
[2016/04/16 14:42:34.250, jre-8u77-windows-i586.exe (PID: 6080, TID: 4728), BrowserControl.cpp:930 (ui::BrowserControl::QueryCustomPolicy)]
    WARNING: QueryCustomPolicy: url='res://c:%5CTemp%5Cjds6565531.tmp%5Cjre-8u77-windows-i586.exe/error.html'

[2016/04/16 14:42:36.687, jre-8u77-windows-i586.exe (PID: 6080, TID: 6084), UpdateConf.cpp:401 (SetJavaSoftKey)]
    ERROR: Exception with message 'Registry.cpp(436) at Registry::deleteValue(): delete value (HKLM\SOFTWARE\JavaSoft\InstallStatus) error. System error [2](system error 2 (SystĂ©m nemĹŻĹľe nalĂ©zt uvedenĂ˝ soubor))' caught

- here the message says,that it cannot find the specified file.This error is in the log 2 times.

Log from a standalone MSI file:

[2016/04/16 15:06:37.265, installer.exe (PID: 3832, TID: 4828), RegInstallJRE.cpp:91 (InstallJRE)]
    ERROR: Exception with message 'unzip.cpp(223) at ZipFile::ZipFile(): ZIP_Open(C:\Documents and Settings\All Users\Data aplikací\Oracle\Java\installcache\newimage) failed. Error: unknown' caught
[2016/04/16 15:06:37.265, installer.exe (PID: 3832, TID: 4828), RegInstallJRE.cpp:93 (InstallJRE)]
    ERROR: -- Exec: unzipping() failed.
[2016/04/16 15:06:37.265, installer.exe (PID: 3832, TID: 4828), installer.cpp:77 (WinMain)]
    ERROR: Install Error: 61002

    INFO: msvcrLib path is c:\Program Files\Java\jre1.8.0_77\bin\msvcr100.dll
[2016/04/16 15:06:43.906, MSI8.tmp (PID: 4984, TID: 4764), DeployLibLoader.cpp:28 (DeployLibLoader::DeployLibLoader)]
    ERROR: Failed to load msvcr library
[2016/04/16 15:06:43.906, MSI8.tmp (PID: 4984, TID: 4764), regdeploy.cpp:253 (RegisterDeploy)]
    ERROR: Exception with message 'Failed to load msvcr library' caught
[2016/04/16 15:06:43.906, MSI8.tmp (PID: 4984, TID: 4764), RegInstallShare.cpp:47 (UninstallJRE)]
    INFO: -- Exec: RegisterDeploy(FALSE) failed.
[2016/04/16 15:06:43.906, MSI8.tmp (PID: 4984, TID: 4764), uninstaller.cpp:148 (WinMain)]
    INFO: Not running C:\Program Files\Common Files\Java\Java Update\jaureg.exe as it doesn't exist.

I have attached the log file from the msi, if somebody want's to take a deeper look.

Seems this problem is deeper than I expected.

jusched.log

Link to comment
Share on other sites

With all of the errors in the log you posted, it sounds like you have a Windows problem and not a Java problem.

It might be a good time to save all your work and install a fresh copy of Windows!

Link to comment
Share on other sites

1 hour ago, sdfox7 said:

With all of the errors in the log you posted, it sounds like you have a Windows problem and not a Java problem.

It might be a good time to save all your work and install a fresh copy of Windows!

Yeah, and explain then why I can install update 51 without any problem.

Link to comment
Share on other sites

Uhm... Just try to run a check disk first CHKDSK C: /F /R and let it finish. After that, IF you are using a normal version of Win XP SP3, try sfc / scannow. Then, try to install Java again. If it's a windows related problem, these things should fix it. Personally, I don't know. I mean, I installed the latest version of Java two days ago and it worked. Try to disable your antivirus as well, while trying to install it. 

Edited by FranceBB
Link to comment
Share on other sites

SFC I have to run,when I have my WinXP installation CD around,since prompts for it.The chkdsk with /f founds no issue, but with /r takes a lot of time,so I post more info when all done.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...