Got things functioning on mac with JRE 7