Get Java Runtime Environment (JRE) version?
public class Main { public static void main(String[] args) { String version = System.getProperty("java.version"); System.out.println("JRE Version = " + version); } }