Other |
---|
5.0 tigerFixed |
Duplicate :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
Name: dbT83986 Date: 12/21/98 Feature request: all that remains of the getenv() function is the method that returns an error message: /** Obsolete. * Gets an environment variable. An environment variable is a * system dependent external variable that has a string value. * @param name the name of the environment variable * @return the value of the variable, or null if the variable is * not defined. * */ public static String getenv(String name) { throw new Error("getenv no longer supported, use properties and -D instead: " + name); } The need for this particular call is very important while I continue to work with an existing cross platform application that creates environment variables during the runtime. There is no 'easy' way to get these values. Most of the deprecation documentation is misleading (it states that getenv() is replaced with getProperty()). Please return the funtionality where ever it is... (Review ID: 38108) ======================================================================
|