public class Environment extends Object
It changes both the shallow HashMap copy of the environment held by Java and the real libC environment
Modifier and Type | Class and Description |
---|---|
static interface |
Environment.LinuxLibC |
static class |
Environment.POSIX |
static interface |
Environment.WinLibC |
Modifier and Type | Field and Description |
---|---|
static org.apache.log4j.Logger |
logger |
Constructor and Description |
---|
Environment() |
Modifier and Type | Method and Description |
---|---|
static Map<String,String> |
getenv() |
static Map<String,String> |
getwinenv() |
static void |
main(String[] args) |
static int |
setenv(String name,
String value,
boolean overwrite) |
static int |
unsetenv(String name) |
public static int unsetenv(String name)
public static void main(String[] args) throws InterruptedException
InterruptedException