インストールされた JDK のバージョン確認 (on Mac OSX)
このページに書かれている。 JDK 8 Installation for OS X
下記引用の通り、( Google 検索するとよく出てくる) /Applications/Utilities/Java Preferences.app はもう存在しない。
If you have not yet installed Apple's Java OS X 2012-006 update, then you are still using a version of Apple Java 6 that includes the plug-in and the Java Preferences app. See "Note for Users of OS X that Include Apple Java 6 Plug-in".
インストールされている JDK のバージョン確認は、
$ /usr/libexec/java_home -V
- あるバージョンでの JDK 環境での実行は、
$ /usr/libexec/java_home -v {version} --exec {command}