Changed JDK used to build to 6.