> Source: [sk92853](https://support.checkpoint.com/results/sk/sk92853)

# sk92853 - Upgrading Java to 64-bit on R77.x (up to and not after R77.30.01) Endpoint Security Server running on Gaia OS

| Property | Value |
|----------|-------|
| Solution ID | sk92853 |
| Date Created | 2013-05-20 |
| Last Modified | 2019-07-15 |
| Technical Level | General |
| Products | Endpoint Security |
| Versions | Cloud, E89.X, E88.X, R82.10, R82, R81.20 |
| OS | Gaia |
| Platform | Smart-1 |

## Solution

By default, Endpoint Security Server installed on Gaia OS runs Java ***32-bit***.

Endpoint Security Server also supports Java 64-bit, providing better performance for systems with RAM size equal to or larger than 4GB.

In order to use Endpoint Security Server in 64-bit mode, you must configure Gaia OS to automatically boot to the 64-bit kernel edition and upgrade Java to 64-bit.

1.

   ### Configure Gaia OS to work in the 64-bit kernel edition:

   1. Connect to command line on Gaia OS.   

   2. Log in to Clish.   

   3. Configure the kernel edition:

      *HostName\> **set edition 64-bit***   

   4. Save the Gaia Database:

      *HostName\> **save config***   

   5. Reboot the machine.   

   6. Verify that Gaia OS booted with 64-bit kernel edition. Run this command in Clish:

      *HostName\> **show version all***

   <br />

   <br />

2.

   ### Upgrade Java to 64-bit

   1. Download [Java 64-bit package](http://supportcontent.checkpoint.com/file_download?id=39523) (*replace_ibm_jre_to_64_bit.tgz* ).   

   2. Transfer the Java 64-bit package to your Endpoint Security Server (into some directory, e.g., */some_path_to_java/* ).   

   3. Unpack the Java 64-bit package:

      ***\[Expert@HostName\]# cd /some_path_to_java/
      \[Expert@HostName\]# tar -zxvf replace_ibm_jre_to_64_bit.tgz***   

   4. Enter the folder *replace_ibm_jre_64b*:

      ***\[Expert@HostName\]# cd /replace_ibm_jre_to_64bit***   

   5. Set the required permissions for all the files in this folder:

      ***\[Expert@HostName\]# chmod 755 \****   

   6. Execute the update script:

      ***\[Expert@HostName\]# ./replace_ibm_jre_to_64_bit***

   Notes:
   * In case of a failure, check the ***$UEPMDIR/logs/replace_ibm_jre_to_64_bit.log*** file.

### To revert Java back to 32-bit:

**Note:** This step is mandatory on R77.20 Endpoint Security Manager before upgrading to R77.30 (Limitation 01679305).

Execute the update script with the "*uninstall*" flag:

***\[Expert@HostName\]# ./replace_ibm_jre_to_64_bit uninstall***

Notes:

* In case of a failure, check the ***$UEPMDIR/logs/replace_ibm_jre_to_64_bit.log*** file.
* It is not required to configure Gaia OS to work back in the 32-bit kernel edition.

---

# Agent Instructions

This content is from the Check Point Support Center (https://support.checkpoint.com), the official knowledge base for Check Point cybersecurity products.

## Navigating This Knowledge Base

- **Complete index**: [llms.txt](https://support.checkpoint.com/llms.txt)
- **All SK articles**: [SecureKnowledge Sitemap](https://support.checkpoint.com/sitemaps/secureknowledge-sitemap-index.xml)
- **SK article URL pattern**: `https://support.checkpoint.com/results/sk/{skId}`
- **Markdown responses**: AI bot User-Agents automatically receive `text/markdown` content
