/**
* Gets an environment variable. An environment variable is a
* system-dependent external variable that has a string value.
*
* @deprecated The preferred way to extract system-dependent information
* is the system properties of the
* <code>java.lang.System.getProperty</code> methods and the
* corresponding <code>get</code>[i]TypeName[/i] methods of
* the <code>Boolean</code>, <code>Integer</code>, and
* <code>Long</code> primitive types. For example:
* <blockquote><pre>
* String classPath = System.getProperty("java.class.path",".");
*
* if (Boolean.getBoolean("myapp.exper.mode"))
* enableExpertCommands();
* </pre></blockquote>
*
* @param name of the environment variable
* @return the value of the variable, or <code>null</code> if the variable
* is not defined.
* @see java.lang.Boolean#getBoolean(java.lang.String)
* @see java.lang.Integer#getInteger(java.lang.String)
* @see java.lang.Integer#getInteger(java.lang.String, int)
* @see java.lang.Integer#getInteger(java.lang.String, java.lang.Integer)
* @see java.lang.Long#getLong(java.lang.String)
* @see java.lang.Long#getLong(java.lang.String, long)
* @see java.lang.Long#getLong(java.lang.String, java.lang.Long)
* @see java.lang.System#getProperties()
* @see java.lang.System#getProperty(java.lang.String)
* @see java.lang.System#getProperty(java.lang.String, java.lang.String)
*/
public static String getenv(String name) {
throw new Error("getenv no longer supported, use properties and -D instead: " + name);
}