Improved java detection on OSX.
Removed incomplete osx java detection log message
Merge pull request #31 from max96at/feature_osx_polish

Improved java detection on OSX.