adding in mac java