简体   繁体   中英

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

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

在带有 Oracle Java 8 的 Mavericks (OS X 10.10) 上,它似乎是:

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

我相信 OS X 下 jre/lib/security 的等效目录是:

/Library/Java/Home/lib/security

The following works for 10.11.6

/Library/Java/Home/jre/lib/security

It's actually just a link to the

/Library/Java/JavaVirtualMachines/.../Contents/Home/jre/lib/security

The location I've found on MacOS Mojave with jre 1.8.0 is:

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

I was not trying to do any Java certificate-store stuff but needed to tweak some security settings for an applet.

Also, can you believe it's 2019 and we're still messing with this crap? ;)

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM