I like scoop and your java bucket. It has a little inconvenience that
- It always add bin to PATH so that there will be multi java in path even first one will win
- It will reset
JAVA_HOME when the new java installed
I will switch to different java frequently. It's perfect if
- Do not put bin in
PATH when new java installed
- Provide a script to switch java by reset JAVA_HOME, remove old
%JAVA_HOME%\bin from PATH and add the new one.