does not build with java7