Java tutorial
import java.util.Properties; public class Main { public static void main(String[] args) { System.out.println(System.getProperty("java.runtime.version")); Properties p = System.getProperties(); p.put("java.runtime.version", "Java Runtime 1.6.0"); System.setProperties(p); System.out.println(System.getProperty("java.runtime.version")); } }