01: package com.reeltwo.jumble.util;
02:
03: import java.util.Properties;
04:
05: /**
06: * Class used for testing purposes
07: *
08: * @author Tin
09: * @version $Revision: 503 $
10: */
11: public class DisplayEnvironment {
12:
13: // Private c'tor
14: private DisplayEnvironment() {
15: }
16:
17: public static void main(String[] args) {
18: Properties props = System.getProperties();
19:
20: System.out.println("java.home "
21: + props.getProperty("java.home"));
22: System.out.println("java.class.path "
23: + props.getProperty("java.class.path"));
24: }
25: }
|