variables - System.getEnv() method - deprecated or not? -


many places suggest system.getenv() jdk method has been deprecated. many places suggest has been reinstated.

is there better api provides functionality environment settngs in susequent jdks?

or system.getenv() still preferred way environment variables / properties?

system.getenv() , system.getenv(string) introduced in days of java, , deprecated in java 1.2(!).

java 5 reinstated them (see bug 4199068), , since there's been no sign of these methods going anywhere or being deprecated again last dozen years or so, think it's safe assume they're here stay, , use them need them.


Comments

Popular posts from this blog

Android : Making Listview full screen -

javascript - Parse JSON from the body of the POST -

javascript - Chrome Extension: Interacting with iframe embedded within popup -