wrong server declaration #2223
Unanswered
danielRuoss
asked this question in
Q&A
Replies: 1 comment 2 replies
-
OSHI just pulls the value from the Latest JDK main branch correctly shows builds > 20347 as Server 2022. That code was changed in September 2021 so I would think any recent JDK would have it backported. We could put in a manual hack to do the same thing in OSHI (we do it for Windows 10 --> 11):
Or you can just update your JDK :) |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
using oshi to determine the windows version
operation system from system.operatingSystem.toString() is : Microsoft Windows Server 2019 build 20348
but build 20348 is Server 2022 according to https://support.microsoft.com/en-au/topic/may-10-2022-kb5013944-os-build-20348-707-05509703-187a-4d5b-97f5-8793dbb22991
Beta Was this translation helpful? Give feedback.
All reactions