trying to use java7 instead of java6