Upgrading from Payara Server 4.1.2.172 #badassfish (build 235)

Hi - I have an out of date payara server running on Windows 2012 R2 Datacenter and it needs moving to Windows 2022 server. What is the recommended version of Payara now please and is there a doc on how to upgrade payara server?

Thanks in advance

Hello,
the currently supported version of Payara Community is 6 (current version is 6.2024.6).

Of course, there is still a way using Payara Enterprise with a long-term support of older versions of Payara and it includes also an upgrade tool:
https://docs.payara.fish/enterprise/docs/Technical%20Documentation/Payara%20Server%20Documentation/Upgrade%20Payara/Overview.html

Documentation about Community and upgrade: Upgrading Payara Server :: Payara Community Documentation