If you do not find the directory, consider checking if you have a different version of Java installed. If you don't find the file consider reinstalling both the JRE and the JDK. Here is the process, which worked for me.
Java Install on OSX 10.11+
http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
jdk-8u51-macosx-x64.dmg
http://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html
jre-8u51-macosx-x64.dmg
MacOSX Java Developer Package
Java Developer Package for OS X 2013-005.dmg
Navigate to:
/Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk/Contents/Info.plist
and change:
<
key
>JVMCapabilities</
key
>
<
array
>
<
string
>CommandLine</
string
>
</
array
>
To:
<
key
>JVMCapabilities</
key
>
<
array
>
<
string
>CommandLine</
string
>
<
string
>JNI</
string
>
<
string
>BundledApp</
string
>
</
array
>