Use System.getenv() instead of System.getProperty().