Limitations
- If you are using Java versions below 1.8, if there is an environment variable defined which has its value same as variable name, it will return an empty string assuming that variable doesn't exist and it returned itself.
- If you are using Java versions below 1.8, for non-Windows platform, it will always return an empty string.