http://server.ccl.net/pub/chemistry/software/UNIX/apache/tomcat4.1.18-linux/files/HelloWorld.java.shtml |
CCL HelloWorld.java.txt | |
class HelloWorld { public static void main(String[] args) { String systemProperties [] = { "java.vendor", "java.vendor.url", "java.version", "java.class.version", "os.name", "os.arch", "os.version" }; for (int i=0; i < systemProperties.length; i++) { try { String key = systemProperties[i]; String value = System.getProperty(key); System.out.println("\nProperty: " + key + "\nValue: " + value); } catch ( Exception e ) { System.err.println("Exception " + e); } } } } |
[ CCL Home Page ]
[ files ]
[ Raw Version of this page ]
Modified: Sun Mar 9 18:24:30 2003 GMT |
Page accessed 321 times since Tue Mar 15 09:58:39 2005 GMT |