Cross compilation for jdk 1.6 fails bue to invalid target.