For both windows 10 and windows 11, System.getProperty("os.version") returns 10.0.
Ideally it should return 11.0 or some version that should allow us to differentiate from windows 10.
Or is there any other mechanism in Java to get the windows version differentiation?
Ideally it should return 11.0 or some version that should allow us to differentiate from windows 10.
Or is there any other mechanism in Java to get the windows version differentiation?