Solved Java SE Runtime Environment installation error 1603


patrik025

Well-known member
Local time
4:36 PM
Posts
31
OS
Windows 11 Pro 64-bit
Hello, I want to install Java SE Runtime Environment 8u411 on my Windows 11.

I had an older version (8u401), so I uninstalled it and tried to update it using the Java installer (.exe) file, but I got error 1603 at every installation attempt of the Java SE RE 8u411 64-bit version. I can't install Java since yesterday and it's very annoying because I have many apps which need support of Java SE RE (Not JDK, but Java SE RE).

I tried every traditional step to fix the 1603 error, but none of these methods worked:
  • Uninstalling Java using Revo Uninstaller (Didn't work)
  • Trying to change the path of the JAVA_HOME variable (Didn't work)
  • Trying to change installation path before installation of Java (Didn't work)
  • Trying to install Java in safe mode (Didn't work)
  • Trying to use an offline installer (Didn't work)
  • Trying to disable & enable CPU virtualisation (Didn't work)
  • Run the "sfc /scannow" command (Didn't work)
  • Removing Symbolic links in C:\Programdata\Oracle\Java\javapath (Didn't work)
  • Completely removing any traces or files of Java SE RE (Didn't work)
  • Disabling my Avira real-time protection (Didn't work)
  • Trying to install an older version of Java SE RE (Didn't work)
  • Changing TEMP & TMP back to %localappdata%\Temp (Didn't work)
  • Trying to run the Java Uninstall tool (It's completely useless since it didn't detect any Java installation)
Can you please help me if any of these steps don't work? Thank you
 
Windows Build/Version
Windows 11 Pro Beta (OS Build 22635.3500)

My Computer

System One

  • OS
    Windows 11 Pro 64-bit
    Computer type
    PC/Desktop
    Manufacturer/Model
    MSI
    CPU
    AMD A10-7860K
    Motherboard
    MSI A88XM-E35 V2
    Memory
    DDR3 16GB
    Graphics Card(s)
    AMD Radeon R7 Graphics (IGD)
    Sound Card
    AMD High Definition Audio Device
    Monitor(s) Displays
    Samsung LU28R55
    Screen Resolution
    1920x1080
    Hard Drives
    Samsung 870 QVO 2TB (SSD)
    WDC WD40EFAX-68JH4N1 4TB (HDD)
    Cooling
    Active cooling (Fan)
    Keyboard
    Connect IT NEO
    Mouse
    Rapture Cobra
    Browser
    Firefox & Microsoft Edge (dualistic)
    Antivirus
    Avira Free Security
Have you removed everything from the old installation directory? I should imagine that the installer does write to a log somewhere if it fails, have you checked the Windows Event Log?

From command prompt, this should export the application event logs:

Code:
wevtutil epl Application %userprofile%\Desktop\Application.evtx
 

My Computer

System One

  • OS
    Windows 11, Windows 10, Linux Fedora Cinnamon
Have you removed everything from the old installation directory? I should imagine that the installer does write to a log somewhere if it fails, have you checked the Windows Event Log?

From command prompt, this should export the application event logs:

Code:
wevtutil epl Application %userprofile%\Desktop\Application.evtx
Okay, I'm attaching an error log screenshot from Event Viewer:

Java problem in event viewer.png
 

My Computer

System One

  • OS
    Windows 11 Pro 64-bit
    Computer type
    PC/Desktop
    Manufacturer/Model
    MSI
    CPU
    AMD A10-7860K
    Motherboard
    MSI A88XM-E35 V2
    Memory
    DDR3 16GB
    Graphics Card(s)
    AMD Radeon R7 Graphics (IGD)
    Sound Card
    AMD High Definition Audio Device
    Monitor(s) Displays
    Samsung LU28R55
    Screen Resolution
    1920x1080
    Hard Drives
    Samsung 870 QVO 2TB (SSD)
    WDC WD40EFAX-68JH4N1 4TB (HDD)
    Cooling
    Active cooling (Fan)
    Keyboard
    Connect IT NEO
    Mouse
    Rapture Cobra
    Browser
    Firefox & Microsoft Edge (dualistic)
    Antivirus
    Avira Free Security
Have you tried deleting the entire C:\Program Files\Java\jre-1.8\ directory? Have you checked you're able to start the msiserver service?

It might be useful to get a ProcMon trace while you try and install the JRE:

Capture Process Monitor Trace
1. Download and run Process Monitor. Leave this running while you perform the next steps.
2. Try installing the JRE just like you have in the past.
3. Stop Process Monitor as soon as it fails. You can simply do this by clicking the square icon on the toolbar as shown below.
j8MhY5V.png

4. Select the File menu...Save... and save the file to your desktop. This is likely the default location. The name (unless changed) will be LogFile.PML. This is fine.
5. Zip up and provide the link to the LogFile.PML file. Examples of services to upload to are Dropbox or OneDrive or WeTransfer.
 

My Computer

System One

  • OS
    Windows 11, Windows 10, Linux Fedora Cinnamon
Have you tried deleting the entire C:\Program Files\Java\jre-1.8\ directory? Have you checked you're able to start the msiserver service?

It might be useful to get a ProcMon trace while you try and install the JRE:

Capture Process Monitor Trace
1. Download and run Process Monitor. Leave this running while you perform the next steps.
2. Try installing the JRE just like you have in the past.
3. Stop Process Monitor as soon as it fails. You can simply do this by clicking the square icon on the toolbar as shown below.
j8MhY5V.png

4. Select the File menu...Save... and save the file to your desktop. This is likely the default location. The name (unless changed) will be LogFile.PML. This is fine.
5. Zip up and provide the link to the LogFile.PML file. Examples of services to upload to are Dropbox or OneDrive or WeTransfer.
Okay, here is a link to the log file from Process Monitor:

And tell me please if that file shows up because I forgot to put it into the 7z archive.
 
Last edited:

My Computer

System One

  • OS
    Windows 11 Pro 64-bit
    Computer type
    PC/Desktop
    Manufacturer/Model
    MSI
    CPU
    AMD A10-7860K
    Motherboard
    MSI A88XM-E35 V2
    Memory
    DDR3 16GB
    Graphics Card(s)
    AMD Radeon R7 Graphics (IGD)
    Sound Card
    AMD High Definition Audio Device
    Monitor(s) Displays
    Samsung LU28R55
    Screen Resolution
    1920x1080
    Hard Drives
    Samsung 870 QVO 2TB (SSD)
    WDC WD40EFAX-68JH4N1 4TB (HDD)
    Cooling
    Active cooling (Fan)
    Keyboard
    Connect IT NEO
    Mouse
    Rapture Cobra
    Browser
    Firefox & Microsoft Edge (dualistic)
    Antivirus
    Avira Free Security
There isn't much in that log, however, I did notice that the JRE installer was querying for the existence of a root certificate which should probably exist on your machine:

Code:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SystemCertificates\AuthRoot\Certificates\A8985D3A65E5E5C4B2D7D66D40C6DD2FB19C5436

There was two logs which it was writing to as well: T:\Temp\jusched.log and T:\Temp\MSId0e45.LOG it might be worthwhile having a look at those logs and checking if they provide more detailed information about the error.

Did you try any of my suggestions from earlier?
 

My Computer

System One

  • OS
    Windows 11, Windows 10, Linux Fedora Cinnamon
There isn't much in that log, however, I did notice that the JRE installer was querying for the existence of a root certificate which should probably exist on your machine:

Code:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SystemCertificates\AuthRoot\Certificates\A8985D3A65E5E5C4B2D7D66D40C6DD2FB19C5436

There was two logs which it was writing to as well: T:\Temp\jusched.log and T:\Temp\MSId0e45.LOG it might be worthwhile having a look at those logs and checking if they provide more detailed information about the error.

Did you try any of my suggestions from earlier?
Yes, I did all the steps you wrote to me. I deleted everything from the old installation directory (C:\Program Files\Java\jre-8). I will also read the two log files you mentioned.

EDIT 1: And can this problem be caused since I installed the Beta version of Windows 11 one week ago? Because I never had similar issues on my older Release Preview builds.

EDIT 2: Yes, the certificate (A8985D3A65E5E5C4B2D7D66D40C6DD2FB19C5436) exists in my registry.

EDIT 3: Here is a link to two log files you mentioned: https://www.mediafire.com/file/80tksg3q8g5l04p/Java_installer_logs.7z/file
 

My Computer

System One

  • OS
    Windows 11 Pro 64-bit
    Computer type
    PC/Desktop
    Manufacturer/Model
    MSI
    CPU
    AMD A10-7860K
    Motherboard
    MSI A88XM-E35 V2
    Memory
    DDR3 16GB
    Graphics Card(s)
    AMD Radeon R7 Graphics (IGD)
    Sound Card
    AMD High Definition Audio Device
    Monitor(s) Displays
    Samsung LU28R55
    Screen Resolution
    1920x1080
    Hard Drives
    Samsung 870 QVO 2TB (SSD)
    WDC WD40EFAX-68JH4N1 4TB (HDD)
    Cooling
    Active cooling (Fan)
    Keyboard
    Connect IT NEO
    Mouse
    Rapture Cobra
    Browser
    Firefox & Microsoft Edge (dualistic)
    Antivirus
    Avira Free Security
Weird issue.
Any chance it might be an issue with the downloaded installer?
edit: is see it happened from an update.

See checksum of your installer:

Re-download the installer and try to install from scratch after previous uninstall.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro
    Computer type
    PC/Desktop
    Manufacturer/Model
    Intel NUC
    CPU
    i3 8109U
    Motherboard
    Intel
    Memory
    16GB DDR4 @2400
    Graphics Card(s)
    Intel Iris Plus Graphics 655
    Sound Card
    Intel / Realtek HD Audio
    Monitor(s) Displays
    LG-32ML600M
    Screen Resolution
    1920x1080
    Hard Drives
    Intel SSD 250GB + Samsung QVO SSD 1TB
    PSU
    Adapter
    Cooling
    The usual NUC airflow
    Keyboard
    Logitech Orion G610
    Mouse
    SteelSeries Rival 100 Red
    Internet Speed
    Good enough
    Browser
    Chromium, Edge, Firefox
    Antivirus
    Windows Defender
  • Operating System
    CentOS 9 Stream / Alma / Rocky / Fedora
    Computer type
    Laptop
    Manufacturer/Model
    TOSHIBA
    CPU
    Intel i7 4800MQ
    Motherboard
    TOSHIBA
    Memory
    32GB DDR3 @1600
    Graphics card(s)
    NVIDIA Quadro K2100M
    Sound Card
    Realtek HD Audio
    Monitor(s) Displays
    Built-in
    Screen Resolution
    1920x1080
The jusched.log seems to be most useful since it seems to be related to Java Update Scheduler.

Code:
[2024/04/23 14:00:26.092, MSIE7F.tmp (PID: 5676, TID: 15736), uninstaller.cpp:109 (WinMain)]
    ERROR: Exception with message '' caught
[2024/04/23 14:00:29.780, jre-8u411-windows-x64.exe (PID: 2176, TID: 16832), WrapperOffline.cpp:37 (ExecCommand)]
    ERROR: Exception with message 'MsiUtils.cpp(399) at msi::ActionStatus::throwIt(): MsiInstallProduct(C:\Users\Admin\AppData\LocalLow\Oracle\Java\jre1.8.0_411_x64\jre1.8.0_41164.msi, ) failed. MSI error [1603]()' caught
[2024/04/23 14:00:29.780, jre-8u411-windows-x64.exe (PID: 2176, TID: 9368), BrowserWindow.cpp:225 (ui::BrowserWindow::scale2systemDPI)]

Code:
[2024/04/23 13:54:29.494, jre-8u411-windows-x64.exe (PID: 2176, TID: 16832), wrapper.cpp:151 (WinMain)]
    TRACE: No Old JRE Version found
[2024/04/23 13:54:29.510, jre-8u411-windows-x64.exe (PID: 2176, TID: 16832), MsiUtils.cpp:331 (msi::`anonymous-namespace'::makeMessage)]
    ERROR: Exception with message 'Resources.cpp(65) at Resource::getPtr(): cannot find resource (name='#259', type='#6'). System error [1814](system error 1814 (The specified resource name cannot be found in the image file))' caught
[2024/04/23 13:54:29.510, jre-8u411-windows-x64.exe (PID: 2176, TID: 16832), AuMsi.cpp:80 (au::InstalledState::detect)]
    ERROR: Exception with message 'MsiUtils.cpp(290) at msi::Database::getProperty(): MsiViewFetch(C:\Windows\Installer\abefd0.msi, SELECT Value FROM Property WHERE Property = 'FullVersion') failed. MSI error [259]' caught

That MSI error 1603 seems to just be a generic installation error and I can't find to find anything about MSI error 259. It was complaining about the directory you deleted now though and there was some errors being logged around a registry value not existing but it didn't mention which error that was.

Edit: I looked at the log incorrectly there, but you can filter it down to only display registry keys which it couldn't find. I would make sure that the installer matches the checksum though.

Reference: MsiExec.exe and InstMsi.exe error messages (for developers) - Win32 apps
 
Last edited:

My Computer

System One

  • OS
    Windows 11, Windows 10, Linux Fedora Cinnamon
The jusched.log seems to be most useful since it seems to be related to Java Update Scheduler.
I tried to uninstall the Java Auto Updater component using Revo Uninstaller Pro, but the installation still doesn't work and it still shows error 1603.

EDIT: I also removed all registries related to Java SE RE & Java Auto Updater using Wise Registry Cleaner before another installation which also resulted with an error 1603.
 
Last edited:

My Computer

System One

  • OS
    Windows 11 Pro 64-bit
    Computer type
    PC/Desktop
    Manufacturer/Model
    MSI
    CPU
    AMD A10-7860K
    Motherboard
    MSI A88XM-E35 V2
    Memory
    DDR3 16GB
    Graphics Card(s)
    AMD Radeon R7 Graphics (IGD)
    Sound Card
    AMD High Definition Audio Device
    Monitor(s) Displays
    Samsung LU28R55
    Screen Resolution
    1920x1080
    Hard Drives
    Samsung 870 QVO 2TB (SSD)
    WDC WD40EFAX-68JH4N1 4TB (HDD)
    Cooling
    Active cooling (Fan)
    Keyboard
    Connect IT NEO
    Mouse
    Rapture Cobra
    Browser
    Firefox & Microsoft Edge (dualistic)
    Antivirus
    Avira Free Security
It still doesn't work. I deleted every registry trace of Java SE RE, all files of Java SE RE, and the Java installer (jre-8u411-windows-x64.exe) and downloaded it again. It still showed error 1603 after Installation.

I will try to remove all Java-related variables using Rapid Environment Editor and try again, but I'll do it later because I don't have much time yet because I have other things to do.
 

My Computer

System One

  • OS
    Windows 11 Pro 64-bit
    Computer type
    PC/Desktop
    Manufacturer/Model
    MSI
    CPU
    AMD A10-7860K
    Motherboard
    MSI A88XM-E35 V2
    Memory
    DDR3 16GB
    Graphics Card(s)
    AMD Radeon R7 Graphics (IGD)
    Sound Card
    AMD High Definition Audio Device
    Monitor(s) Displays
    Samsung LU28R55
    Screen Resolution
    1920x1080
    Hard Drives
    Samsung 870 QVO 2TB (SSD)
    WDC WD40EFAX-68JH4N1 4TB (HDD)
    Cooling
    Active cooling (Fan)
    Keyboard
    Connect IT NEO
    Mouse
    Rapture Cobra
    Browser
    Firefox & Microsoft Edge (dualistic)
    Antivirus
    Avira Free Security
Have you checked the System event log too? You can use the same command from earlier but replace it with System instead. Unfortunately, that error is very generic so it is difficult to work out why its failing to install.

Have you tried creating a VM of a general release build of Windows and then installing it there? It would help to rule out any configuration issues with your particular install.
 

My Computer

System One

  • OS
    Windows 11, Windows 10, Linux Fedora Cinnamon
Have you checked the System event log too? You can use the same command from earlier but replace it with System instead. Unfortunately, that error is very generic so it is difficult to work out why its failing to install.

Have you tried creating a VM of a general release build of Windows and then installing it there? It would help to rule out any configuration issues with your particular install.
The Java installer didn't generate a system log. I tried to install Java on a Virtual machine software (in this case Windows Sandbox) and it worked perfectly, but unfortunately, it still didn't work on my OS.

I guess I disabled some services 1 week ago, so that may be the problem, but I don't know which service it is, because all disabled services are third-party and the Java installer is dependent on none of them.

Can this be a problem even if the service isn't disabled? (e.g. if it's on "manual" mode and it should be on "automatic".) Or is Java Update Scheduler dependent on certain services?
 

My Computer

System One

  • OS
    Windows 11 Pro 64-bit
    Computer type
    PC/Desktop
    Manufacturer/Model
    MSI
    CPU
    AMD A10-7860K
    Motherboard
    MSI A88XM-E35 V2
    Memory
    DDR3 16GB
    Graphics Card(s)
    AMD Radeon R7 Graphics (IGD)
    Sound Card
    AMD High Definition Audio Device
    Monitor(s) Displays
    Samsung LU28R55
    Screen Resolution
    1920x1080
    Hard Drives
    Samsung 870 QVO 2TB (SSD)
    WDC WD40EFAX-68JH4N1 4TB (HDD)
    Cooling
    Active cooling (Fan)
    Keyboard
    Connect IT NEO
    Mouse
    Rapture Cobra
    Browser
    Firefox & Microsoft Edge (dualistic)
    Antivirus
    Avira Free Security
I'm not sure because I haven't used JRE in years but it does seem that there something misconfigured on your system which is causing the installer to fail.

Have you checked that the msiserver service is able to start? That's the only service which it might use.
 

My Computer

System One

  • OS
    Windows 11, Windows 10, Linux Fedora Cinnamon
I'm not sure because I haven't used JRE in years but it does seem that there something misconfigured on your system which is causing the installer to fail.

Have you checked that the msiserver service is able to start? That's the only service which it might use.
Well, the msiserver service (Windows Installer) is working at all, but it's set to "Manual", but I can't set it to "Automatic", because the startup field is greyed-out. I'll try to change it to Automatic using Windows Terminal (command prompt) and try Java installation again.

EDIT: Setting the msiserver service to Automatic also didn't help. I can't write further today, because I must go to sleep, I'll continue solving this problem tomorrow.
 

My Computer

System One

  • OS
    Windows 11 Pro 64-bit
    Computer type
    PC/Desktop
    Manufacturer/Model
    MSI
    CPU
    AMD A10-7860K
    Motherboard
    MSI A88XM-E35 V2
    Memory
    DDR3 16GB
    Graphics Card(s)
    AMD Radeon R7 Graphics (IGD)
    Sound Card
    AMD High Definition Audio Device
    Monitor(s) Displays
    Samsung LU28R55
    Screen Resolution
    1920x1080
    Hard Drives
    Samsung 870 QVO 2TB (SSD)
    WDC WD40EFAX-68JH4N1 4TB (HDD)
    Cooling
    Active cooling (Fan)
    Keyboard
    Connect IT NEO
    Mouse
    Rapture Cobra
    Browser
    Firefox & Microsoft Edge (dualistic)
    Antivirus
    Avira Free Security
You don't need to set it to automatic, it will be started up as and when required, if the service was able to be started with no problems then you can rule that out as the issue. Otherwise, my only suggestion would be to go through any changes you think you may have made just before this issue started and then revert them back.
 

My Computer

System One

  • OS
    Windows 11, Windows 10, Linux Fedora Cinnamon
You don't need to set it to automatic, it will be started up as and when required, if the service was able to be started with no problems then you can rule that out as the issue. Otherwise, my only suggestion would be to go through any changes you think you may have made just before this issue started and then revert them back.
I may have found the real reason for this problem.

My Windows 11 build is Beta 22635.3500, and a known issue is listed on the Windows Insider blog post.

Here's a description of that issue:
"We are investigating an issue where Internet Information Services (IIS) and Windows Communication Foundation (WCF) may not work after installing this update."

I believe this may be the issue causing Java installation error 1603, but I'll keep this post open until Microsoft makes a fix, and I will test it again, but that issue may last another few builds. But it's weird, that in Virtual Machine (Windows Sandbox) the Java installation worked as intended, but maybe clean installations (like VMs) aren't affected by this issue, because there aren't any third-party apps. But I've my Windows installation for about 7 months and I have installed many apps, so my installation is probably affected by this known issue.

Here is the reference: Announcing Windows 11 Insider Preview Build 22635.3500 (Beta Channel)

Do you agree with my theory?
 

My Computer

System One

  • OS
    Windows 11 Pro 64-bit
    Computer type
    PC/Desktop
    Manufacturer/Model
    MSI
    CPU
    AMD A10-7860K
    Motherboard
    MSI A88XM-E35 V2
    Memory
    DDR3 16GB
    Graphics Card(s)
    AMD Radeon R7 Graphics (IGD)
    Sound Card
    AMD High Definition Audio Device
    Monitor(s) Displays
    Samsung LU28R55
    Screen Resolution
    1920x1080
    Hard Drives
    Samsung 870 QVO 2TB (SSD)
    WDC WD40EFAX-68JH4N1 4TB (HDD)
    Cooling
    Active cooling (Fan)
    Keyboard
    Connect IT NEO
    Mouse
    Rapture Cobra
    Browser
    Firefox & Microsoft Edge (dualistic)
    Antivirus
    Avira Free Security
No, IIS and WCF have nothing to do with your JRE installer issue. Were those VMs the same build number as your "real" machine? It might be worth checking if Oracle has a support forum or if there has been any reports of the same problem on SuperUser or StackOverflow.
 

My Computer

System One

  • OS
    Windows 11, Windows 10, Linux Fedora Cinnamon
No, IIS and WCF have nothing to do with your JRE installer issue. Were those VMs the same build number as your "real" machine? It might be worth checking if Oracle has a support forum or if there has been any reports of the same problem on SuperUser or StackOverflow.
Yes, the Windows Sandbox makes VMs with the same build number. If that known issue isn't related to Java installation error 1603, then I don't have any other ideas.

But I want to note, that I never had this issue since I started using computers in 2012. That issue must relate to my specific Windows 11 build.

I don't know what can cause this weird issue, so I'll try to ask on the Oracle support forum since Oracle owns Java, I can get better support for solving this problem.

But thank you for everything you advised me. You can close this post.
 

My Computer

System One

  • OS
    Windows 11 Pro 64-bit
    Computer type
    PC/Desktop
    Manufacturer/Model
    MSI
    CPU
    AMD A10-7860K
    Motherboard
    MSI A88XM-E35 V2
    Memory
    DDR3 16GB
    Graphics Card(s)
    AMD Radeon R7 Graphics (IGD)
    Sound Card
    AMD High Definition Audio Device
    Monitor(s) Displays
    Samsung LU28R55
    Screen Resolution
    1920x1080
    Hard Drives
    Samsung 870 QVO 2TB (SSD)
    WDC WD40EFAX-68JH4N1 4TB (HDD)
    Cooling
    Active cooling (Fan)
    Keyboard
    Connect IT NEO
    Mouse
    Rapture Cobra
    Browser
    Firefox & Microsoft Edge (dualistic)
    Antivirus
    Avira Free Security
Hello, if you read this, then I finally managed to fix Java installation error 1603 issue by taking ownership of "C:\Program Files\Java" folder. Thank you for everything again. I'm marking this as solved.
 

My Computer

System One

  • OS
    Windows 11 Pro 64-bit
    Computer type
    PC/Desktop
    Manufacturer/Model
    MSI
    CPU
    AMD A10-7860K
    Motherboard
    MSI A88XM-E35 V2
    Memory
    DDR3 16GB
    Graphics Card(s)
    AMD Radeon R7 Graphics (IGD)
    Sound Card
    AMD High Definition Audio Device
    Monitor(s) Displays
    Samsung LU28R55
    Screen Resolution
    1920x1080
    Hard Drives
    Samsung 870 QVO 2TB (SSD)
    WDC WD40EFAX-68JH4N1 4TB (HDD)
    Cooling
    Active cooling (Fan)
    Keyboard
    Connect IT NEO
    Mouse
    Rapture Cobra
    Browser
    Firefox & Microsoft Edge (dualistic)
    Antivirus
    Avira Free Security

Latest Support Threads

Back
Top Bottom