How to obtain the location of cacerts of the default java installation?

前端 未结 6 666
情书的邮戳
情书的邮戳 2020-12-02 09:56

I am looking on how how to obtain the location of cacerts of the default java installation, when you do not have JAVA_HOME or JRE_HOME

6条回答
  •  清歌不尽
    2020-12-02 10:01

    You can also consult readlink -f "which java". However it might not work for all binary wrappers. It is most likely better to actually start a Java class.

提交回复
热议问题