Forum Stats

  • 3,733,072 Users
  • 2,246,690 Discussions
  • 7,856,500 Comments

Discussions

An attempt to install jre8u161/2 fails with error codes 2 and 1813

USIKPA
USIKPA Member Posts: 3

Windows XP SP3, no previous JRE Version found.

Trying to install the latest Java version with the following command line

jre-8u162-windows-i586.exe INSTALL_SILENT=0 STATIC=1 WEB_JAVA=1 WEB_ANALYTICS=0 EULA=0 REBOOT=1 SPONSORS=0 /LV* %TEMP%\jreMSI.log

Instead of obtaining the log all I have is a set of the following lines from jusched.log

INFO: Running offline JRE wrapper with command line=<"INSTALL_SILENT=0" "STATIC=1" "WEB_JAVA=1" "WEB_ANALYTICS=0" "EULA=0" "REBOOT=1" "SPONSORS=0" "/L" "C:\DOCUME~1\USIKPA\LOCALS~1\Temp\jreMSI.log">

[2018/01/21 21:57:19.468, jre-8u162-windows-i586.exe (PID: 2136, TID: 2112), WrapperUtils.cpp:70 (DeleteFaultyBaseImage)]

     TRACE: -- DeleteFaultyBaseImage begin...

[2018/01/21 21:57:19.484, jre-8u162-windows-i586.exe (PID: 2136, TID: 2112), JavaEnvironment.cpp:473 (JavaEnvironment::detect)]

     TRACE: Entering JavaEnvironment::detect

[2018/01/21 21:57:19.500, jre-8u162-windows-i586.exe (PID: 2136, TID: 2112), JavaEnvironment.cpp:0 (JavaEnvironment::detect)]

     TRACE: Exiting JavaEnvironment::detect (entered at JavaEnvironment.cpp:473) [2018/01/21 21:57:19.500, jre-8u162-windows-i586.exe (PID: 2136, TID: 2112), UpdateConf.cpp:401 (SetJavaSoftKey)]

     ERROR: Exception with message 'Registry.cpp(431) at Registry::deleteValue(): delete value (HKLM\SOFTWARE\JavaSoft\InstallStatus) error. System error [2](system error 2 (Не удается найти указанный файл))' caught

[2018/01/21 21:57:19.500, jre-8u162-windows-i586.exe (PID: 2136, TID: 2112), wrapper.cpp:123 (WinMain)]

     TRACE: No Old JRE Version found

[2018/01/21 21:57:19.500, jre-8u162-windows-i586.exe (PID: 2136, TID: 2112), MsiUtils.cpp:321 (msi::`anonymous-namespace'::makeMessage)]

     ERROR: Exception with message 'Resources.cpp(65) at Resource::getPtr(): cannot find resource (name='#1605', type='#6'). System error [1813](system error 1813 (Указанный тип ресурса в файле образа отсутствует))' caught

The 161 th version stalls with the same error set. The 151th worked fine until I deleted it. Any idea how to go about installing the 161th/162th?

Tagged:
Zapfenzieher

Answers

  • Zapfenzieher
    Zapfenzieher Member Posts: 1
    edited February 2018

    Same here exactly (OS, service pack, etc.) ... except that I still have an installed version (jre8u151) on my system. Makes no difference.

    [2018/01/31 22:19:36.437, jre-8u162-windows-i586.exe (PID: 4008, TID: 3600), FileUtils.cpp:405 (FileUtils::`anonymous-namespace'::createNewFile)]

        TRACE: Created [C:\DOCUME~1\ZAPFEN~1\LOCALS~1\Temp\jds160031296.tmp] file

    [2018/01/31 22:19:36.437, jre-8u162-windows-i586.exe (PID: 4008, TID: 3600), FileUtils.cpp:603 (FileUtils::`anonymous-

    namespace'::deleteFileImpl)]

        TRACE: Deleted [C:\DOCUME~1\ZAPFEN~1\LOCALS~1\Temp\jds160031296.tmp] file

    [2018/01/31 22:19:36.437, jre-8u162-windows-i586.exe (PID: 4008, TID: 3600), FileUtils.cpp:405 (FileUtils::`anonymous-

    namespace'::createNewFile)]

        TRACE: Created [C:\DOCUME~1\ZAPFEN~1\LOCALS~1\Temp\jds160031296.tmp\jds160031296.tmp] file

    [2018/01/31 22:19:51.593, jre-8u162-windows-i586.exe (PID: 4008, TID: 3600), FileUtils.cpp:543 (FileUtils::`anonymous-

    namespace'::moveFileImpl)]

        TRACE: Moved 'C:\DOCUME~1\ZAPFEN~1\LOCALS~1\Temp\jds160031296.tmp\jds160031296.tmp' file to 'C:\DOCUME~1\ZAPFEN~1

    \LOCALS~1\Temp\jds160031296.tmp\jre-8u162-windows-i586.exe'

    [2018/01/31 22:20:03.921, jre-8u162-windows-i586.exe (PID: 2928, TID: 2780), AllUtils.cpp:125 (logit)]

        INFO: Wrapper begin...

    [2018/01/31 22:20:03.921, jre-8u162-windows-i586.exe (PID: 2928, TID: 2780), wrapper.cpp:78 (WinMain)]

        INFO: Running offline JRE wrapper with command line=<"INSTALL_SILENT=0" "STATIC=1" "WEB_JAVA=1" "WEB_ANALYTICS=0"

    "EULA=0" "REBOOT=1" "SPONSORS=0" "/LV*" "C:\DOCUME~1\ZAPFEN~1\LOCALS~1\Temp\jre8u162MSI.log">

    [2018/01/31 22:20:03.921, jre-8u162-windows-i586.exe (PID: 2928, TID: 2780), WrapperUtils.cpp:70 (DeleteFaultyBaseImage)]

        TRACE: -- DeleteFaultyBaseImage begin...

    [2018/01/31 22:20:05.109, jre-8u162-windows-i586.exe (PID: 2928, TID: 2780), JavaEnvironment.cpp:473

    (JavaEnvironment::detect)]

        TRACE: Entering JavaEnvironment::detect

    [2018/01/31 22:20:05.109, jre-8u162-windows-i586.exe (PID: 2928, TID: 2780), JavaEnvironment.cpp:490

    (JavaEnvironment::detect)]

        TRACE: Installed Java detected: version=1.8.0_151; arch=32; productCode={26A24AE4-039D-4CA4-87B4-2F32180151F0};

    type=0

    [2018/01/31 22:20:05.109, jre-8u162-windows-i586.exe (PID: 2928, TID: 2780), JavaEnvironment.cpp:140 (`anonymous-

    namespace'::detectHomeDir)]

        TRACE: Find home dir of {26A24AE4-039D-4CA4-87B4-2F32180151F0} Java installation

    [2018/01/31 22:20:05.125, jre-8u162-windows-i586.exe (PID: 2928, TID: 2780), JavaEnvironment.cpp:396 (`anonymous-

    namespace'::adjustVersion)]

        ERROR: Exception with message '' caught

    [2018/01/31 22:20:05.125, jre-8u162-windows-i586.exe (PID: 2928, TID: 2780), JavaEnvironment.cpp:304 (`anonymous-

    namespace'::detectFullVersion)]

        TRACE: Detect full version of {26A24AE4-039D-4CA4-87B4-2F32180151F0} Java installation

    [2018/01/31 22:20:05.125, jre-8u162-windows-i586.exe (PID: 2928, TID: 2780), JavaEnvironment.cpp:215 (`anonymous-

    namespace'::detectFullVersionFromMsi)]

        TRACE: detectFullVersionFromMsi({26A24AE4-039D-4CA4-87B4-2F32180151F0})

    [2018/01/31 22:20:05.125, jre-8u162-windows-i586.exe (PID: 2928, TID: 2780), JavaEnvironment.cpp:328 (`anonymous-

    namespace'::detectJreMode)]

        TRACE: Detect mode of {26A24AE4-039D-4CA4-87B4-2F32180151F0} Java installation

    [2018/01/31 22:20:05.125, jre-8u162-windows-i586.exe (PID: 2928, TID: 2780), JavaEnvironment.cpp:452 (`anonymous-

    namespace'::getInstalledJava)]

        TRACE: InstalledJava(1.8.0_151-b12|1.8.0_151-b12|JRE|32bit|C:\Program Files\Java\jre1.8.0_151|{26A24AE4-039D-4CA4-

    87B4-2F32180151F0}|10)

    [2018/01/31 22:20:05.140, jre-8u162-windows-i586.exe (PID: 2928, TID: 2780), JavaEnvironment.cpp:0 (JavaEnvironment::detect)]

        TRACE: Exiting JavaEnvironment::detect (entered at JavaEnvironment.cpp:473)

    [2018/01/31 22:20:05.140, jre-8u162-windows-i586.exe (PID: 2928, TID: 2780), UpdateConf.cpp:401 (SetJavaSoftKey)]

        ERROR: Exception with message 'Registry.cpp(431) at Registry::deleteValue(): delete value

    (HKLM\SOFTWARE\JavaSoft\InstallStatus) error. System error [2](system error 2 (The system cannot find the file specified))'

    caught

    [2018/01/31 22:20:05.140, jre-8u162-windows-i586.exe (PID: 2928, TID: 2780), wrapper.cpp:120 (WinMain)]

        TRACE: Old JRE found: 1.8.0_151

    [2018/01/31 22:20:05.140, jre-8u162-windows-i586.exe (PID: 2928, TID: 2780), AuMsi.cpp:78 (au::InstalledState::detect)]

        TRACE: Found AU version in MSI: <2.8.151.12>

    [2018/01/31 22:20:05.140, jre-8u162-windows-i586.exe (PID: 2928, TID: 2780), wrapper.cpp:139 (WinMain)]

        TRACE: Wrapper Load ConfigSettings...

    [2018/01/31 22:20:05.140, jre-8u162-windows-i586.exe (PID: 2928, TID: 2780), wrapper.cpp:522 (WinMain)]

        ERROR: Exception with message '' caught

    [2018/01/31 22:20:05.140, jre-8u162-windows-i586.exe (PID: 2928, TID: 2780), wrapper.cpp:524 (WinMain)]

        INFO: Wrapper exit code: 1

This discussion has been closed.