microsoft / microsoft/vscode-java-debug
JDK Requirements should clarify that java 8 requires a jre, not a jdk
Nessuno ha ancora preso questa issue.
- Lingua principale
- TypeScript
- Stelle
- 591
- Fork
- 429
- Merge medio
- 1g 9h
- PR unite (30g)
- 19
Descrizione
https://github.com/redhat-developer/vscode-java/wiki/JDK-Requirements documents how to set the project JDK. The example config contains "path": "/path/to/jdk-8". However, when I followed the instructions and entered a path to a JDK, I got an error that the jdk did not fulfill the requirements of "JavaSE-1.8". When I instead downloaded a jdk8 jre and pointed to it, everything worked. So I think the documentation should more clearly state that you need a JRE, not a JDK, for java 8.
Environment
- Operating System: Ubuntu Linux
- JDK version: 8
- Visual Studio Code version: 1.75.1
- Java extension version: Language Support for Java(TM) by Red Hat v1.15.0
- Java Debugger extension version: Debugger for Java v0.48.0
Steps To Reproduce
- Follow instructions in https://github.com/redhat-developer/vscode-java/wiki/JDK-Requirements to configure a java 8 jdk as the default
- Observe error "Runtime at '/path/to/jdk1.8.0_xxx' is not compatible with the 'JavaSE-1.8' environment"
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Apri la pagina wiki JDK-Requirements collegata e rivedi la configurazione di esempio per Java 8. Chiarisci il tipo di runtime richiesto in modo che corrisponda alla configurazione funzionante descritta nell’issue, quindi verifica che le istruzioni non indirizzino più gli utenti verso un percorso incompatibile.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- java
- Ambito
- documentation
- Tipo di issue
- Documentazione
- Difficoltà
- 1/5
- Tempo stimato
- Meno di un'ora
- Stato di attività
- Ferma
- Chiarezza
- Specificata chiaramente
- Idoneità per principianti
- 48/100