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

落爺英雄遲暮 提交于 2020-01-23 06:26:27

问题


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.


回答1:


Its located under

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



回答2:


Java JRE are installed in /Library/Internet Plug-Ins. So the lib/securoty 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/....




回答3:


Did you look in /etc/java/security?

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



来源:https://stackoverflow.com/questions/33488490/where-is-the-folder-lib-security-from-jre-8-under-os-x

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!