diff options
Diffstat (limited to 'src/java/devcontainer-feature.json')
-rw-r--r-- | src/java/devcontainer-feature.json | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/java/devcontainer-feature.json b/src/java/devcontainer-feature.json index 18b577f..8eb83a1 100644 --- a/src/java/devcontainer-feature.json +++ b/src/java/devcontainer-feature.json @@ -1,6 +1,6 @@ { "id": "java", - "version": "1.0.6", + "version": "1.0.7", "name": "Java (via SDKMAN!)", "documentationURL": "https://github.com/devcontainers/features/tree/main/src/java", "description": "Installs Java, SDKMAN! (if not installed), and needed dependencies.", @@ -43,6 +43,7 @@ "SDKMAN_DIR": "/usr/local/sdkman", "GRADLE_USER_HOME": "${HOME}/.gradle", "M2": "${HOME}/.m2", - "PATH": "${SDKMAN_DIR}/bin:${SDKMAN_DIR}/candidates/java/current/bin:${SDKMAN_DIR}/candidates/gradle/current/bin:${SDKMAN_DIR}/candidates/maven/current/bin:${PATH}" + "JAVA_HOME": "/usr/local/sdkman/candidates/java/current", + "PATH": "/usr/local/sdkman/bin:/usr/local/sdkman/candidates/java/current/bin:/usr/local/sdkman/candidates/gradle/current/bin:/usr/local/sdkman/candidates/maven/current/bin:${PATH}" } } |