Adding Java path to registry
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
Research direction
Compare the requested registry entries with extras/keystore-explorer, games/minecraft, vscode.json, and scripts/vscode-install-context.reg. Determine which JRE/JDK packages need the installation context, then verify that installed Java is discoverable through the registry by the affected applications.
Written by the indexing model from the issue text.
Description
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"
- Dominant language
- PowerShell
- Stars
- 314
- Forks
- 111
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from ScoopInstaller/Java
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
ScoopInstaller/Java#607 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
ScoopInstaller/Java#603 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
ScoopInstaller/Java#542 · 1 comment · 5 reactions ·
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
ScoopInstaller/Java#581 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 58/100
ScoopInstaller/Java#566 · 1 reaction ·
All issues in ScoopInstaller/Java
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
0xMiden/bridge-portal#132 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
newrelic-experimental/preflight#793 · 1 comment ·
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
babalae/bettergi-scripts-list#3674 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
caddyserver/caddy#8046 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
zilliztech/memsearch#759 ·