microsoft / microsoft/vscode-java-debug
JDK Requirements should clarify that java 8 requires a jre, not a jdk
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- TypeScript
- Sterne
- 591
- Forks
- 429
- Ø Merge
- 1 T. 9 Std.
- Gemergte PRs (30 T.)
- 19
Beschreibung
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"
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Öffne die verlinkte JDK-Requirements-Wikiseite und überprüfe die Beispielkonfiguration für Java 8. Kläre den erforderlichen Laufzeittyp, sodass er mit der im Issue beschriebenen funktionierenden Einrichtung übereinstimmt, und verifiziere anschließend, dass die Anweisungen Nutzer nicht mehr auf einen inkompatiblen Pfad verweisen.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- java
- Bereich
- documentation
- Issue-Typ
- Dokumentation
- Schwierigkeit
- 1/5
- Geschätzter Aufwand
- Unter einer Stunde
- Aktivitätsstatus
- Veraltet
- Klarheit
- Klar beschrieben
- Anfängerfreundlichkeit
- 48/100