-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
As detailed in sdkman/sdkman-cli#1154 it would be great if one of the focus areas for the re-write were to add support for pinning a JDK vendor and major version rather than a specific release.
Maybe something like:
# Enable auto-env through the sdkman_auto_env config
# Add key=value pairs of SDKs to use below
java=17-temWhich would resolve to whatever installed version exists of java with prefix 17 and vendor Temurin (tem), e.g. for me the current latest 17.0.14-tem which is what I have installed, and for a colleague it might be 17.0.12-tem.
Or if it's easier to support this using different keys, maybe:
# Enable auto-env through the sdkman_auto_env config
# Add key=value pairs of SDKs to use below
jdk=17
jdk-vendor=temThese are just my suggestions, I don't really care exactly how it's configured, just that it would simplify management a lot if it were possible.
xyam, bengaywins, bahaa and jtonic
Metadata
Metadata
Assignees
Labels
No labels