on mac if java home is set use it
glusterfs also respects java home for mac
Merge pull request #266 from dcapwell/feature/javahome

on mac if java home is set use it