{ "id": "java", "version": "1.0.1", "name": "Java (via SDKMAN!)", "description": "Installs Java, SDKMAN! (if not installed), and needed dependencies.", "options": { "version": { "type": "string", "proposals": [ "latest", "none", "17", "11", "8" ], "default": "latest", "description": "Select or enter a Java version to install" }, "install_gradle": { "type": "boolean", "default": false, "description": "Install Gradle, a build automation tool for multi-language software development" }, "install_maven": { "type": "boolean", "default": false, "description": "Install Maven, a management tool for Java" } }, "buildArg": "_VSC_INSTALL_JAVA", "extensions": [ "vscjava.vscode-java-pack" ], "containerEnv": { "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}" }, "settings": { "java.import.gradle.java.home": "/usr/local/sdkman/candidates/java/current" } }