Where is the JRE lib/security directory on Mac OS X?

bethesdaboys picture bethesdaboys · Dec 7, 2011 · Viewed 25.6k times · Source

I need to generate a cert and can't find this directory. Thanks!

Answer

Lorin Hochstein picture Lorin Hochstein · Jul 2, 2015

On Mavericks (OS X 10.10) with Oracle Java 8, it appears to be:

/Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk/Contents/Home/jre/lib/security