Run Java applications on Google Axion processors
Introduction
Create an Arm-based VM instance with Google Axion CPU
Install the JDK and build an application
Test performance and optimize
Next Steps
Run Java applications on Google Axion processors
Review 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.
Use the Google Cloud console SSH button for your VM. It opens a browser-based shell connected to the instance.
Running
java -version after installing Java should print an OpenJDK 21.x release similar to: openjdk version "21.0.3" 2024-04-16. If the command isn’t found, recheck that default-jre installed successfully.Running JMeter in a separate terminal avoids interrupting the Spring Petclinic process. Keep the terminal that started the application open so that the service stays available during the test.
Use the
.jmx file provided in the spring-petclinic repository. The file defines a workload that exercises the application endpoints for the performance tests.Keep the workload, application build, and test plan identical and change only one variable at a time, such as a JVM flag or instance type. Run the JMeter plan for each case and compare the resulting metrics.