Idris-dev/test/reg029/Reg029Wrapper.java
2014-06-07 22:01:16 +02:00

18 lines
422 B
Java

import java.util.Map;
/**
* The Java back end uses properties
* instead of environment variables.
* This wrapper loads the env variables
* into the standard set of properties.
*/
public class Reg029Wrapper {
public static void main(String args[]) {
Map<String, String> env = System.getenv();
for (String key : env.keySet()) {
System.setProperty(key, env.get(key));
}
reg029.main(args);
}
}