devcontainers / devcontainers/features
Feature Java 'open' Not Appended to Java Version
- Lingua principale
- Shell
- Stelle
- 1.5k
- Fork
- 621
- Merge medio
- 6g 53m
- PR unite (30g)
- 9
Descrizione
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"
}
}
```
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- java, shell
- Ambito
- devops
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100