Load Operating System dependent jar

I’m working on a module that relies on some third party jars.
Some of these are OS-dependent, so a different jar should be loaded by each different OS.
If possible, I would prefer to have these manually installed on client machines as required, instead of packaging them all in the module.
So, is there a good way to load these at run time and have them accessible to my (client-scoped) module?

I’m not sure there’s any way to accomplish this with jars.

If you were just trying to load a native library that you expected to be installed you could probably get something working, but not an entire jar file.

You’ll probably just have to ship all the jars for all the platforms in the module.