The VM.info jcmd diagnostic command begins its report with the version of the JDK. It refers to it as the "JRE version" - JRE is a term that doesn't seem to be used much anymore
e.g.
# JRE version: Java(TM) SE Runtime Environment (21.0+35) (build 21+35-LTS-2513)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (21+35-LTS-2513, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
perhaps the "JRE version:" string could simply be dropped from the output.
e.g.
# JRE version: Java(TM) SE Runtime Environment (21.0+35) (build 21+35-LTS-2513)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (21+35-LTS-2513, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
perhaps the "JRE version:" string could simply be dropped from the output.