Some applications, such as Keystore Explorer[extras/keystore-explorer] and Minecraft[games/minecraft], checks Java installation through registry.
Therefore when user installs JRE through Scoop, these applications will report "Java is required" even if JRE is already installed.
The problem can be fixed by importing the content below. This can be implemented by following the pattern of VSCode package. vscode.json / vscode-install-context.reg
(I am not an expert, so I am not really sure about whether this should be added to all JRE/JDK packages.)
[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment]
"CurrentVersion"="1.8"
"BrowserJavaVersion"="11.241.2"
[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment\1.8]
"RuntimeLib"="(JAVA PATH)\\bin\\server\\jvm.dll"
"JavaHome"="(JAVA PATH)"
"MicroVersion"="0"
[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment\1.8.0_241]
"JavaHome"="(JAVA PATH)"
"MicroVersion"="0"
"RuntimeLib"="(JAVA PATH)\\bin\\server\\jvm.dll"
Reactions are currently unavailable
Some applications, such as Keystore Explorer[extras/keystore-explorer] and Minecraft[games/minecraft], checks Java installation through registry.
Therefore when user installs JRE through Scoop, these applications will report "Java is required" even if JRE is already installed.
The problem can be fixed by importing the content below. This can be implemented by following the pattern of VSCode package. vscode.json / vscode-install-context.reg
(I am not an expert, so I am not really sure about whether this should be added to all JRE/JDK packages.)