This documentation includes content for releases that might not be available on-premises. For the latest on-premises Comply documentation, see the PDF version of Tanium™ Comply User Guide version 2.18.390.
Reference: Repackage the IBM JRE for deployment to AIX endpoints
Before you begin
You can deploy supported versions of OpenJDK JRE version 8 through Comply to endpoints running AIX 7.1 TL1SP10 and later or AIX 7.2. Check the OpenJDK release site for supported service pack levels for a particular OpenJDK JRE release: AdoptOpenJDK: Latest release.
The OpenJDK JRE version 8 does not support AIX 6.1; therefore, you must use the IBM JRE on AIX 6.1 endpoints.
If needed, you can deploy IBM Java SE Version 8 (64-bit) to AIX endpoints through Comply, but you must repackage it first to a format that is compatible with Comply.
The IBM JRE is usually already installed on AIX endpoints and supported versions can be used with Comply 2.10 and earlier.
Repackage the JRE
You must complete these steps on an AIX machine.
- Download IBM Java SE Version 8 (64-bit): IBM: Developer Kits for Java Standard Edition on AIX.
- Complete the following steps from a command line on an AIX machine:
- Move the downloaded JRE file to the directory where you want to extract the files.
- Change directory to the directory where you moved the file.
- Run the following commands, which use these variables:
- <downloaded file name>: the file that you downloaded from the IBM website. For example, Java8_64.jre.8.0.0.610.tar.gz.
- <extracted file name>: the extracted file. For example, Java8_64.jre.
- <extracted file path>: the directory to which the file was extracted. For example, Java8_64.
- <file name for resulting file>: Name that you specify for the resulting file. This name must reflect the exact JRE version. For example, Java8_64.jre.8.0.0.605.tar.gz.
gzip -dc <downloaded file name> | tar -xof -
restore -qxvdf <extracted file name> .
cp -R usr/lpp/<extracted file name>/inst_root/etc/<extracted file path>/jre/lib/* usr/<extracted file path>/jre/lib/
cd usr/<extracted file path>/
tar -cvf /tmp/<file name for resulting file>.tar jre
cd /tmp
//If you downloaded the original file to /tmp, you must delete that file using the following command
// before you can create the resulting .tar file since the two files have the same name.
//If you downloaded the file to a location other than /tmp, skip to the last command
rm -rf <downloaded file name>
gzip <file name for resulting file>.tarThe subsequent example shows the commands with actual filenames and paths.
You must name the file so that it reflects the exact IBM JRE version. For example, Java8_64.jre.8.0.0.605.tar.gz. In most cases, the file name will match the file name of the original JRE that you downloaded.
For AIX Open JDK JRE, the format of the file name must include the following regex jre_ppc64_aix.*_(8u\d+).*\.tar\.gz
Example
The following example shows the commands to generate the file that can be deployed through Comply.This example uses these inputs:
- The version of the downloaded JRE is 8.0.0.605
- The file name for the downloaded JRE is Java8_64.jre.8.0.0.605.tar.gz
- The directory for file extraction is /tmp/jre_extract
- The resulting JRE file is Java8_64.jre.8.0.0.605.tar.gz (the same as the original downloaded JRE file)
cd /tmp/jre_extract
gzip -dc Java8_64.jre.8.0.0.605.tar.gz | tar -xof -
restore -qxvdf Java8_64.jre .
cp -R usr/lpp/Java8_64.jre/inst_root/etc/java8_64/jre/lib/* usr/java8_64/jre/lib/
cd usr/java8_64/
tar -cvf /tmp/Java8_64.jre.8.0.0.605.tar jre
cd /tmp
gzip Java8_64.jre.8.0.0.605.tar
These commands produce a file, Java8_64.jre.8.0.0.605.tar.gz, that can be deployed to AIX endpoints through Comply.
Last updated: 5/30/2023 11:41 AM | Feedback