
Login to your SAP operating system and go to the work directory, /usr/sap/SID/DVEBMGSxx/work or /usr/sap/SID/Jxx/work and display the dev_server0 file. You can find the SAPJVM version and location stated there.
cd /usr/sap/SID/DVEBMGSxx/work/
cd /usr/sap/SID/Jxx/work/
F *********************************************************************
F Java environment properties
F root directory : E:\usr\sap\SID\J01\exe\sapjvm_8
F vendor : SAP AG
F version : 1.8.0_271
F cpu : amd64
F java vm type : server
F java vm version : 8.1.067 10.0.2+000
F jvm library name : jvm.dll
F library path : E:\usr\sap\SID\J01\exe\sapjvm_8\jre\bin\server;
E:\usr\sap\SID\J01\exe\sapjvm_8\jre\bin
F executable path : E:\usr\sap\SID\J01\exe\sapjvm_8\bin
F SAP extensions : available
F *********************************************************************
Alternatively, login to the NWA page. Go to Configuration > Infrastructure. Click on System Information. Click on Instance and you will see the SAPJVM version below.

Reference
- 1434916 – How to find out the SAP JVM build version
- 2246884 – How to find the JVM version of the AS Java


