Skip to content

Commit 8ce2045

Browse files
committed
Update devcontainer to use Java 17
1 parent 5628192 commit 8ce2045

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

.devcontainer/devcontainer.json

+2-12
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,13 @@
11
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:
22
// https://github.com/microsoft/vscode-dev-containers/tree/v0.241.1/containers/java-8
33
{
4-
"name": "Java 8",
5-
"image": "mcr.microsoft.com/devcontainers/java:1-8-bullseye",
4+
"name": "Java 17",
5+
"image": "mcr.microsoft.com/devcontainers/java:0-17",
66

77
// Configure tool-specific properties.
88
"customizations": {
99
// Configure properties specific to VS Code.
1010
"vscode": {
11-
// Set *default* container specific settings.json values on container create.
12-
"settings": {
13-
"java.import.gradle.java.home": "/usr/local/sdkman/candidates/java/current",
14-
"java.configuration.runtimes": [{
15-
"default": true,
16-
"name": "JavaSE-1.8",
17-
"path": "/usr/local/sdkman/candidates/java/current"
18-
}]
19-
},
20-
2111
// Add the IDs of extensions you want installed when the container is created.
2212
"extensions": [
2313
"vscjava.vscode-java-pack"

0 commit comments

Comments
 (0)