/** * Add a a variable to the internal map of this properties object and to the * global system-wide environment; * * @param key the name of the variable * @param value its value */ public void addVariableSystemWide(String key, String value) { addVariable(key, value); // local // system wide if (this != getSystemWide()) { getSystemWide().addVariableSystemWide(key, value); } System.setProperty(key, value); }
/** * Add a a variable to the internal map of this properties object and to the * global system-wide environment; * * @param key the name of the variable * @param value its value */ public void addVariableSystemWide(String key, String value) { addVariable(key, value); // local // system wide if (this != getSystemWide()) { getSystemWide().addVariableSystemWide(key, value); } System.setProperty(key, value); }
NATIVE_LIBS_DIR = new File(wh + File.separator + NATIVE_LIBS_DIR_NAME); } else { env.addVariableSystemWide("WEKA_HOME", WEKA_HOME.toString());
NATIVE_LIBS_DIR = new File(wh + File.separator + NATIVE_LIBS_DIR_NAME); } else { env.addVariableSystemWide("WEKA_HOME", WEKA_HOME.toString());