Where is the Folder /lib/security from JRE 8 under OS X?

12,071

Solution 1

Java JRE are installed in /Library/Internet Plug-Ins. So the lib/security Folder is located in

/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/lib/security

For Java JDK you have to look in

/Library/Java/JavaVirtualMachines/JDK_xxx/....

Solution 2

Its located under

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

Solution 3

Did you look in /etc/java/security?

or /Library/Java/Home/lib/security?

Share:
12,071
Opa114
Author by

Opa114

Updated on June 05, 2022

Comments

  • Opa114
    Opa114 almost 2 years

    I'm searching the Folder /lib/security from Java JRE 8 under OS X. Under Windows the fodler is located in the installation directory of java in the subfolder lib\security, for example: C:\Programm Files\Java\JRE_xxx\lib\security. But under OS X (El Capitan) i didn't find this folder.

    When i install Java JDK is found it inside the JDK install folder, but JRe come with shipped certificates, too which are stored in the cacerts file inside the lib/security folder. So this folder must be in OS X somewhere, because when i run the Java Control Panel i can see these certificates.

    thanks.