Library/Java/JavaVirtualMachines/jdk1.8.0_05.jdk/Contents/Home First run /usr/libexec/java_home -V which will output something like the following: Matching Java Virtual Machines (3):ġ.8.0_05, x86_64: 'Java SE 8' /Library/Java/JavaVirtualMachines/jdk1.8.0_05.jdk/Contents/Homeġ.6.0_65-b14-462, x86_64: 'Java SE 6' /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Homeġ.6.0_65-b14-462, i386: 'Java SE 6' /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home