Support Java 7.0.51

* Remove dependency on GOW / wget
* Fix detection of program files path