How to find the different Java SDK installed in your MacOS installation

By Sergio del Amo - Fri, 23 Dec 2016 12:57:00 GMT

Tags: #devops

$ /usr/libexec/java_home -V
Matching Java Virtual Machines (1):
    1.8.0_101, x86_64:	"Java SE 8"	/Library/Java/JavaVirtualMachines/jdk1.8.0_101.jdk/Contents/Home

/Library/Java/JavaVirtualMachines/jdk1.8.0_101.jdk/Contents/Home