> ## Documentation Index
> Fetch the complete documentation index at: https://kb.mochahost.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Enabling JCE for your JDK (Java-Linux VPS/CLOUD)

You will need to install the correct JCE version corresponding to the the JDK version which the client has set for his application. Below are a few examples of the most used **JDK/JCE version** and links from where to download them:

**JCE 6 / JDK 1.6:** [https://www.oracle.com/technetwork/java/embedded/embedded-se/downloads/jce-6-download-429243.html](https://www.oracle.com/technetwork/java/embedded/embedded-se/downloads/jce-6-download-429243.html)

**JCE 7 / JDK 1.7:** [https://www.oracle.com/technetwork/java/embedded/embedded-se/downloads/jce-7-download-432124.html](https://www.oracle.com/technetwork/java/embedded/embedded-se/downloads/jce-7-download-432124.html)

**JCE 8 / JDK 1.8:** [https://www.oracle.com/technetwork/java/javase/downloads/jce8-download-2133166.html](https://www.oracle.com/technetwork/java/javase/downloads/jce8-download-2133166.html)

1. Download the archive jce\\\_policy-$.zip and move it to your home directory **(/home/user$)\*\* using *Cpanel > File Manager*. 

PS. **The symbol '\$' stands for dynamic values**.

![](https://tutorials.my-virtual-panel.com/jce_jdk/1_Cpanel_File_Manager.png)

![](https://tutorials.my-virtual-panel.com/jce_jdk/2_Cpanel_File_Manager.png)

![](https://tutorials.my-virtual-panel.com/jce_jdk/3_Cpanel_File_Manager.png)

2. Login to your server via SSH.

3. Navigate to the home directory of the user **/home/user\$/**.

`# cd  /home/user$/`

4. Extract jce\local\\\_policy.jar and jce\US\\\_export\\\_policy.jar from the archive to the folder **/usr/local/jdk\$/jre/lib/security**, overwriting the files already present in the directory.

`# unzip jce\_policy-$.zip`

\-- generally there will be a sub-folder in this archive, in this case navigate onto it as such

`# cd UnlimitedJCEPolicyJDK$` `# cp -rf *.jre /usr/local/jdk$/jre/lib/security`

5. After that restart the Tomcat enviroment from your **Cpanel > Private JVM plugin**.

![](https://tutorials.my-virtual-panel.com/jce_jdk/4_Cpanel_File_Manager.png)
