/usr/libexec/java_home -V Matching Java Virtual Machines (2): 1.8.0_74, x86_64: "Java SE 8" /Library/Java/JavaVirtualMachines/jdk1.8.0_74.jdk/Contents/Home 1.7.0_72, x86_64: "Java SE 7" /Library/Java/JavaVirtualMachines/jdk1.7.0_72.jdk/Contents/Home /Library/Java/JavaVirtualMachines/jdk1.8.0_74.jdk/Contents/Home