add oracle environment
adjust java environment for Mac OS