Changed java library to use jre7