Java tutorial
public class Main { public static void main(String[] args) { System.setProperty("java.runtime.version", "Java Runtime 1.6.0"); System.out.println(System.getProperty("java.runtime.version")); } }