There is no arrivals facility at JFK, especially for Star Alliance because United does not serve JFK. Without a onboard BP you won't be able to access any of the other facilities with showers inside security.
Might just have to try your luck with a early check in and/or see if they'll grant you access to a shower-equipped health center/gym if applicable.