change NMI glue to better detect location of java on Windows.
===VersionHistory:None===