On mac os java home is now identified automatically and adding additonally the ability to specify java home as a property.