aboutsummaryrefslogtreecommitdiff
path: root/src/java/devcontainer-feature.json
diff options
context:
space:
mode:
authorSamruddhi Khandale <skhandale@microsoft.com>2022-09-14 03:15:51 +0300
committerGitHub <noreply@github.com>2022-09-14 03:15:51 +0300
commit674b096863a564d5dfe91e0a88ea0061fa79ae71 (patch)
treedd085e0063cc509f54f96fd01ee6555090b4a88c /src/java/devcontainer-feature.json
parentb7b5d8b1c02f6a8755c880d6f615115760462c8b (diff)
Conda and Java: sync env variables (#153)
* conda script * Adds JAVA_HOME * Update src/conda/devcontainer-feature.json Co-authored-by: Josh Spicer <joshspicer@github.com> * modify containerEnv * fix version * bump python version Co-authored-by: Josh Spicer <joshspicer@github.com>
Diffstat (limited to 'src/java/devcontainer-feature.json')
-rw-r--r--src/java/devcontainer-feature.json5
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}"
}
}