Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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.

like image 384
Opa114 Avatar asked Nov 02 '15 22:11

Opa114


People also ask

Where is my Java security folder?

In Java, we can find the java. security file at the following location: $JAVA_HOME/jre/lib/security/java.

Where is the JRE folder on Mac?

In macOS, the JRE installation path is /Library/Internet Plug-Ins/JavaAppletPlugin. plugin/Contents/Home/ . The root directory of the JRE software installation. This directory contains README, and other JRE folders.

Where is Java_home Lib security Cacerts?

A certificates file named cacerts resides in the security properties directory, java. home \lib\security, where java. home is the runtime environment directory (the jre directory in the SDK or the top-level directory of the Java™ 2 Runtime Environment).


1 Answers

Its located under

Library/Java/JavaVirtualMachines/jdk1.8.0_91.jdk/Contents/Home/jre/lib/security
like image 95
Meghana Randad Avatar answered Oct 09 '22 16:10

Meghana Randad