In JDK-8042707, I made it possible to compile using Visual Studio 2013. Since then, JDK-8061524 introduced another incompatibility. The fix is pretty simple. Just add "import <memory>" to install/src/windows/common/xml.h.
JDK-8083816Install build fails when building with VS 2013
JDK-8042707Source changes needed to build JDK 9 with Visual Studio 2013 (VS2013)