I'm REALLY tired of managing java versions on any given computer! First I got to find it and download it. Then fiddle with the env until its visible to jenv. Then use jenv which is fine but the user experience there could be smoother. Why don't we have a small utility like n for java versions. It should be stupid easy to build with clojure and maybe compile with graal vm for command line speed.
I should just be able to type:
jm search <some regexp> # to search all available resources online and mark the ones already installed (a-la brew)
jm 11 # to get the latest version of java 11.x.y if doesn't exist on machine or switch to whatever java 11.x.y already exists on machine (will error if not exist in the wild)
jm 11.4.5 # to get/switch a specific version (will error if not exists in the wild)
jm add x.y.z # to add a java version explicitly (will error if not exists in the wild)
jm rm 11.4.5 # to remove a java version (will error if not exists)
jm switch x.y.z # to switch to a java version explicitly