CloudHSM JCE provider for Client SDK 5 - MacOS Arm64 Support


I'm trying to run the examples:

And hitting an issue with a library that is not compiled for MacOS.

Caused by: java.lang.UnsatisfiedLinkError: Can't load library:

I believe the library needs to be .dylib

Is there a recommended work around other than a VM or if support for MacOS is in the roadmap?

Thank you

asked a year ago539 views
2 Answers

if you check the link below you can see that

Client SDK does not support MacOS

You can use a Windows VM or Linux VM or you can use Docker container

profile picture
answered a year ago


As noted above, the Client SDK 5 only supports the following platforms, as indicated here[1]:

a Linux:

  • Amazon Linux
  • Amazon Linux 2
  • CentOS 7.8+
  • CentOS 8.3+
  • Red Hat Enterprise Linux (RHEL) 7.8+
  • Red Hat Enterprise Linux (RHEL) 8.3+
  • Ubuntu 18.04 LTS
  • Ubuntu 20.04 LTS

b. Windows:

  • Microsoft Windows Server 2016
  • Microsoft Windows Server 2019

Furthermore, I have also been able to identify an existing feature request in place with the internal CloudHSM team, for Client SDK 5 to support MacOS. While I am unable to comment on if/when this feature may get released, I request you to keep an eye on our What's New[2] and Blog[3] pages for any new feature announcements.

As you also rightfully noted, you can consider running either a Windows/Linux VM (EC2 instance) to make use of the Client SDK 5, or use of Docker container/ AWS Lambda functions.


[1] Client SDK 5 supported platforms -



I do hope that the above helps with the query at hand.

answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions