[JDK-8297139] Release Note: Toolchain Upgrade to Visual Studio 2022
As part of ongoing maintenance, the JDK for Windows is built using the Microsoft Visual Studio 2022 toolchain starting with this release.
If you have issues with a Java application and if you have native or JNI libraries that are compiled with a different release of the compiler, then you must consider compatibility issues between the runtimes. Specifically, your environment is supported only if you follow the Microsoft guidelines when dealing with multiple runtimes. More information can be found in [“C++ binary compatibility between Visual Studio versions”](learn.microsoft.com/en-us/cpp/porting/binary-compat-2015-2017?view=msvc-170).
Read more here: Source link