Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Adding Java path to registry

Aperta
#119 5 commenti 3 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
java
Ambito
tooling

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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"
Lingua principale
PowerShell
Stelle
315
Fork
111
Merge medio
13g 18h
PR unite (30g)
2

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di ScoopInstaller/Java

Tutte le issue di ScoopInstaller/Java

Issue simili

Altre issue su DevTools

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.