remove java 1.7 requirement, now support 1.6 compile
support Mac now