sdk list java
sdk use java jdk1.8.0_101
sdk use java 11.0.2
1.8 was installed in:
/Library/Java/JavaVirtualMachines/jdk1.8.0_101.jdk
1.11 was installed in (via sdkman):
~/.sdkman/candidates/java/
or
/Users/yohochen/.sdkman/candidates/java/
SDK Man
https://dzone.com/articles/how-to-install-multiple-versions-of-java-on-the-sa