Build as java7