temporary solution for jre 7 on osx 10.8.5