set java version to 1.8 in osx