devcontainers / devcontainers/features
Feature Java 'open' Not Appended to Java Version
- Vorherrschende Sprache
- Shell
- Sterne
- 1.5k
- Forks
- 621
- Ø Merge
- 6 T. 53 Min.
- Gemergte PRs (30 T.)
- 9
Beschreibung
It looks like the the jdkDistro gets dropped if not set to ms, changing the version to `17-open` or jdkDistro to `ms` solves the issue.
# Error:
```
1.385 Version 17 not found. Available versions:
1.385 22.ea.25-open
1.385 22.ea.24-open
1.385 22.ea.23-open
1.385 22.ea.22-open
1.385 22.ea.21-open
1.385 22.ea.20-open
1.385 22.ea.19-open
1.385 22.ea.18-open
1.385 22.ea.17-open
1.385 22.ea.16-open
1.385 22.ea.15-open
1.385 21.ea.35-open
1.385 21.0.1-open
1.385 21-open
1.385 20.0.2-open
1.385 19.ea.1.pma-open
1.386 ERROR: Feature "Java (via SDKMAN!)"
```
# Configuration:
```
"features": {
"ghcr.io/devcontainers/features/java:1": {
"installGradle": true,
"installMaven": true,
"installAnt": true,
"version": "17",
"jdkDistro": "open",
"gradleVersion": "7.5.1",
"mavenVersion": "3.8.6",
"antVersion": "1.10.12"
}
}
```
Beitragsleitfaden
Rechercherichtung
Start with the Java feature configuration and its SDKMAN! version lookup, using the supplied version and jdkDistro values as the reproduction case. Trace where the `open` suffix is handled and verify that requesting version `17` resolves to an available `17-open` version without changing the documented configuration.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- java, shell
- Bereich
- devops
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100