1:System.getProperties() returns a Properties not a String. You should use getProperty() instead.Otherwise you call getProperties() to get all the properties you wanted, the returned value is an array of Property. Then use the returned Property to get the String value through get method(Property extends from hashtable). 2:Double.parseDouble() is a static method, so your syntax is wrong. You just use double m = Double.parseDouble() directly.
2:Double.parseDouble() is a static method, so your syntax is wrong. You just use double m = Double.parseDouble() directly.