Relates :
|
From MSDN: "With the release of Windows��8.1, the behavior of the��GetVersionEx��API has changed in the value it will return for the operating system version. The value returned by the��GetVersionEx��function now depends on how the application is manifested." On Windows 10 (6.4.9841), Java reports Windows 8.1 build 9600, so our OS detection code needs to be updated. One possible solution could be: "To obtain the full version number for the operating system, call the��GetFileVersionInfo��function on one of the system DLLs, such as Kernel32.dll, then call��VerQueryValue��to obtain the \\StringFileInfo\\<lang><codepage>\\ProductVersion subblock of the file version information."