2017-02-13 68 views
0

我想安裝https://github.com/cryptomator/cli要求: JRE 8:http://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html JCE:http://www.oracle.com/technetwork/java/javase/downloads/jce8-download-2133166.html如何在MacOS Sierra上安裝JCE for JRE 8?

我的Mac上,首選項>的Java,Java選項卡,我看到平臺1.8,產品1.8.0_121,以及1.8 1.8的路徑.0_121 http://java.sun.com/products/autodl/j2se/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java

所以我認爲我已經有了JRE 8。我如何知道我是否有JCE,如果它不在那裏,我該如何正確安裝它?

+0

您可能想要[apple.se] – Faegy

回答

-2

以下是安裝說明:

1)下載無限強度的JCE策略文件。

2)解壓並解壓下載的文件。

This will create a subdirectory called jce. 
This directory contains the following files: 

    README.txt     This file 
    local_policy.jar    Unlimited strength local policy file 
    US_export_policy.jar   Unlimited strength US export policy file 

3)安裝無限強度策略JAR文件。

In case you later decide to revert to the original "strong" but 
limited policy versions, first make a copy of the original JCE 
policy files (US_export_policy.jar and local_policy.jar). Then 
replace the strong policy files with the unlimited strength 
versions extracted in the previous step. 

The standard place for JCE jurisdiction policy JAR files is: 

    <java-home>/lib/security   [Unix] 
    <java-home>\lib\security   [Windows] 

它在的README.txt在那裏你可以得到它,你下載的zip文件(jce_policy-8.zip)顯然經過解釋。

+0

我不確定這些說明適用於MacOS,因爲就我所知,Java的安裝說明並不是在Mac上處理Java的正確方法。 –

+0

Mac Os是從linux內核分出來的。這就是爲什麼Oracle從來沒有試圖給出單獨的指令。所以這裏有什麼問題?你不能在/lib/security中找到罐子? –

相關問題