As i couldn't seem to find a way to query Java version in SCCM via "installed applications" created a script to check compliance for latest version of Java 1.8.0_171 (latest at time of writing, easy to edit script to detect version required)
create a configuration item, use script below as...