Thank you so much, this answer was exactly what I needed.
Much like dlasky, I'm using Temurin. I'd just like to add that the "PRODUCTVERSION" appears to be detailed in the "release" file as "SEMANTIC_VERSION". In my case, "8.0.372+7" corresponded to the full version "1.8.0_372-b07".
Thanks again, this really was a huge help and a massive relief.