Unable to install Java on Windows 10

darksang.exodar

Prominent
Sep 23, 2017
2
0
510
I've been trying to install Java for a long time now, but I can't get it to work. Whenever I launch the installer it won't even show a window, and I can see the installer process in the task manager for a second, then it disappears.

I tried tons of solutions I found googling, but none of them worked, like launching it from CMD with admin rights, or running on safe mode as well.

This is the log file generated after running the installer.

[2017/09/23 22:09:08.822, jre-8u144-windows-x64.exe (PID: 1212, TID: 4672), FileUtils.cpp:379 (FileUtils::`anonymous-namespace'::createNewFile)]
TRACE: Created [C:\Users\sergi\AppData\Local\Temp\jds907383375.tmp] file
[2017/09/23 22:09:08.823, jre-8u144-windows-x64.exe (PID: 1212, TID: 4672), FileUtils.cpp:560 (FileUtils::deleteFile)]
TRACE: Deleted [C:\Users\sergi\AppData\Local\Temp\jds907383375.tmp] file
[2017/09/23 22:09:08.825, jre-8u144-windows-x64.exe (PID: 1212, TID: 4672), FileUtils.cpp:379 (FileUtils::`anonymous-namespace'::createNewFile)]
TRACE: Created [C:\Users\sergi\AppData\Local\Temp\jds907383375.tmp\jds907383375.tmp] file
[2017/09/23 22:09:08.899, jre-8u144-windows-x64.exe (PID: 1212, TID: 4672), FileUtils.cpp:500 (FileUtils::`anonymous-namespace'::moveFileImpl)]
TRACE: Moved [C:\Users\sergi\AppData\Local\Temp\jds907383375.tmp\jds907383375.tmp] file to [C:\Users\sergi\AppData\Local\Temp\jds907383375.tmp\jre-8u144-windows-x64.exe]
[2017/09/23 22:09:09.529, jre-8u144-windows-x64.exe (PID: 4816, TID: 5408), AllUtils.cpp:125 (logit)]
INFO: Wrapper begin...
[2017/09/23 22:09:09.530, jre-8u144-windows-x64.exe (PID: 4816, TID: 5408), wrapper.cpp:78 (WinMain)]
INFO: Running offline JRE wrapper with command line=<>
[2017/09/23 22:09:09.531, jre-8u144-windows-x64.exe (PID: 4816, TID: 5408), JavaEnvironment.cpp:472 (JavaEnvironment::detect)]
TRACE: Entering JavaEnvironment::detect
[2017/09/23 22:09:09.540, jre-8u144-windows-x64.exe (PID: 4816, TID: 5408), JavaEnvironment.cpp:0 (JavaEnvironment::detect)]
TRACE: Exiting JavaEnvironment::detect (entered at JavaEnvironment.cpp:472)
[2017/09/23 22:09:09.541, jre-8u144-windows-x64.exe (PID: 4816, TID: 5408), 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 (The system cannot find the file specified))' caught
[2017/09/23 22:09:09.542, jre-8u144-windows-x64.exe (PID: 4816, TID: 5408), wrapper.cpp:123 (WinMain)]
TRACE: No Old JRE Version found
[2017/09/23 22:09:09.542, jre-8u144-windows-x64.exe (PID: 4816, TID: 5408), AuMsi.cpp:70 (au::InstalledState::detect)]
TRACE: No Old AU Version found
[2017/09/23 22:09:09.543, jre-8u144-windows-x64.exe (PID: 4816, TID: 5408), wrapper.cpp:139 (WinMain)]
TRACE: Wrapper Load ConfigSettings...
[2017/09/23 22:09:09.543, jre-8u144-windows-x64.exe (PID: 4816, TID: 5408), InstallConfigData.cpp:161 (InstallConfigData::InstallConfigData)]
TRACE: Entering InstallConfigData::InstallConfigData
[2017/09/23 22:09:09.544, jre-8u144-windows-x64.exe (PID: 4816, TID: 5408), InstallConfigData.cpp:218 (InstallConfigData::InitConfig)]
INFO: Default config settings are:
INSTALL_SILENT=Disable
STATIC=Disable
AUTO_UPDATE=Enable
WEB_ANALYTICS=Enable
EULA=Disable
SPONSORS=Enable
OEMUPDATE=Disable

[2017/09/23 22:09:09.545, jre-8u144-windows-x64.exe (PID: 4816, TID: 5408), InstallConfigData.cpp:0 (InstallConfigData::InstallConfigData)]
TRACE: Exiting InstallConfigData::InstallConfigData (entered at InstallConfigData.cpp:161)
[2017/09/23 22:09:09.545, jre-8u144-windows-x64.exe (PID: 4816, TID: 5408), AllUtils.cpp:125 (logit)]
INFO: -->Loading Important args...
[2017/09/23 22:09:09.546, jre-8u144-windows-x64.exe (PID: 4816, TID: 5408), InstallConfigData.cpp:494 (InstallConfigData::ImportArgsConfigSettings)]
TRACE: Entering InstallConfigData::ImportArgsConfigSettings
[2017/09/23 22:09:09.546, jre-8u144-windows-x64.exe (PID: 4816, TID: 5408), AllUtils.cpp:125 (logit)]
INFO: ...Importing command line arguments
[2017/09/23 22:09:09.547, jre-8u144-windows-x64.exe (PID: 4816, TID: 5408), InstallConfigData.cpp:0 (InstallConfigData::ImportArgsConfigSettings)]
TRACE: Exiting InstallConfigData::ImportArgsConfigSettings (entered at InstallConfigData.cpp:494)
[2017/09/23 22:09:09.548, jre-8u144-windows-x64.exe (PID: 4816, TID: 5408), AllUtils.cpp:125 (logit)]
INFO: |------Important args config (TMP)--------|

INSTALL_SILENT = Disable
STATIC = Disable
AUTO_UPDATE = Enable
SPONSORS = Enable
WEB_ANALYTICS = Enable
EULA = Disable
OEMUPDATE = Disable
|-------------------------------------|

[2017/09/23 22:09:09.548, jre-8u144-windows-x64.exe (PID: 4816, TID: 5408), AllUtils.cpp:125 (logit)]
INFO: -->Loading Config...
[2017/09/23 22:09:09.549, jre-8u144-windows-x64.exe (PID: 4816, TID: 5408), AllUtils.cpp:125 (logit)]
INFO: ...Importing runtime configuration file...
[2017/09/23 22:09:09.549, jre-8u144-windows-x64.exe (PID: 4816, TID: 5408), AllUtils.cpp:129 (logit)]
INFO: Runtime config file path is C:\ProgramData\Oracle\Java\java.settings.cfg
[2017/09/23 22:09:09.550, jre-8u144-windows-x64.exe (PID: 4816, TID: 5408), InstallConfigData.cpp:494 (InstallConfigData::ImportArgsConfigSettings)]
TRACE: Entering InstallConfigData::ImportArgsConfigSettings
[2017/09/23 22:09:09.550, jre-8u144-windows-x64.exe (PID: 4816, TID: 5408), AllUtils.cpp:125 (logit)]
INFO: ...Importing command line arguments
[2017/09/23 22:09:09.551, jre-8u144-windows-x64.exe (PID: 4816, TID: 5408), InstallConfigData.cpp:0 (InstallConfigData::ImportArgsConfigSettings)]
TRACE: Exiting InstallConfigData::ImportArgsConfigSettings (entered at InstallConfigData.cpp:494)
[2017/09/23 22:09:09.551, jre-8u144-windows-x64.exe (PID: 4816, TID: 5408), InstallConfigData.cpp:604 (InstallConfigData::CheckParams)]
TRACE: Entering InstallConfigData::CheckParams
[2017/09/23 22:09:09.552, jre-8u144-windows-x64.exe (PID: 4816, TID: 5408), InstallConfigData.cpp:0 (InstallConfigData::CheckParams)]
TRACE: Exiting InstallConfigData::CheckParams (entered at InstallConfigData.cpp:604)
[2017/09/23 22:09:09.552, jre-8u144-windows-x64.exe (PID: 4816, TID: 5408), AllUtils.cpp:125 (logit)]
INFO: -->Saving backup...
[2017/09/23 22:09:09.553, jre-8u144-windows-x64.exe (PID: 4816, TID: 5408), AllUtils.cpp:125 (logit)]
INFO: ...Importing runtime configuration file...
[2017/09/23 22:09:09.553, jre-8u144-windows-x64.exe (PID: 4816, TID: 5408), AllUtils.cpp:129 (logit)]
INFO: Runtime config file path is C:\ProgramData\Oracle\Java\java.settings.cfg
[2017/09/23 22:09:09.554, jre-8u144-windows-x64.exe (PID: 4816, TID: 5408), AllUtils.cpp:125 (logit)]
INFO: Unable to install Java

Configuration file C:\ProgramData\Oracle\Java\java.settings.cfg is malformed in line 1.
Check data and formatting of the file.
[2017/09/23 22:09:09.555, jre-8u144-windows-x64.exe (PID: 4816, TID: 5408), InstallConfigData.cpp:598 (InstallConfigData::ImportRuntimeConfigSettings)]
ERROR: Runtime configuration file import failed with 313
[2017/09/23 22:09:09.555, jre-8u144-windows-x64.exe (PID: 4816, TID: 5408), InstallConfigData.cpp:400 (InstallConfigData::LoadConfigSettings)]
ERROR: Error occurred while importing runtime file for backup.Exiting installer.
[2017/09/23 22:09:09.556, jre-8u144-windows-x64.exe (PID: 4816, TID: 5408), AllUtils.cpp:125 (logit)]
INFO: Error occurred while loading configuration settings. Exiting installer.
[2017/09/23 22:09:09.564, jre-8u144-windows-x64.exe (PID: 1212, TID: 4672), FileUtils.cpp:560 (FileUtils::deleteFile)]
TRACE: Deleted [C:\Users\sergi\AppData\Local\Temp\jds907383375.tmp\jre-8u144-windows-x64.exe] file
[2017/09/23 22:09:09.565, jre-8u144-windows-x64.exe (PID: 1212, TID: 4672), FileUtils.cpp:578 (FileUtils::deleteDirectory)]
TRACE: deleteDirectory(C:\Users\sergi\AppData\Local\Temp\jds907383375.tmp)
[2017/09/23 22:09:09.566, jre-8u144-windows-x64.exe (PID: 1212, TID: 4672), FileUtils.cpp:581 (FileUtils::deleteDirectory)]
TRACE: Deleted [C:\Users\sergi\AppData\Local\Temp\jds907383375.tmp] directory
 

darksang.exodar

Prominent
Sep 23, 2017
2
0
510

I already did that, but it didn't work. The log I attached (jusched.log) was generated after deleting the installer from temp and trying again.
 

TRENDING THREADS