Validate Pointer Authentication and Branch Target Identification in OpenJDK on Google Cloud C4A
Introduction
Learn about PAC/BTI security features and OpenJDK support
Create a Google Cloud C4A instance
Test PAC/BTI support with SUSE OpenJDK
Test PAC/BTI support with Oracle JDK
Next Steps
Validate Pointer Authentication and Branch Target Identification in OpenJDK on Google Cloud C4A
Who is this for?
This is for Java developers running OpenJDK on Arm Neoverse platforms who want to verify Pointer Authentication (PAC) and Branch Target Identification (BTI) security features are properly enabled. PAC cryptographically signs return addresses to detect tampering, while BTI restricts where indirect branches can land.
What will you learn?
Upon completion of this Learning Path, you will be able to:
- Provision a Google Cloud C4A Arm-based virtual machine (VM) with SUSE Linux Enterprise Server.
- Install OpenJDK on the Arm-based VM.
- Verify PAC and BTI readiness in the installed Java VM (JVM) runtime.
Prerequisites
Before starting, you will need the following:
- A Google Cloud Platform (GCP) account with billing enabled
- Optionally, install the gcloud CLI to connect to the VM from a local terminal instead of using the browser-based SSH
Summary
This summary was drafted with an approved AI-assisted workflow and reviewed by Arm contributors before publication. Human technical review remains part of the process so the final page reflects engineering rigor, accuracy, and Arm editorial standards.
Frequently asked questions
These FAQs were drafted with an approved AI-assisted workflow and reviewed by Arm contributors before publication. Human technical review remains part of the process so the final page reflects engineering rigor, accuracy, and Arm editorial standards.
java --version. The output should identify the distribution and version, for example OpenJDK 17 on aarch64.JAVA=./jdk-21.0.11/bin/java ./test-pacbti.sh to select the Oracle JDK for the test script. Replace jdk-21.0.11 with your extracted directory name if it differs.c4a-standard-4 machine type.