The nashorn's ant build script does not check for any versions of the required tools
or the platforms.
There ought to be a "sanity" target which will demand a particular version
of ant, java etc. etc. to be used along for performing the build, this will make it
easier for other people to build and test nashorn, avoid guessing of cryptic error