From this post we can understand that the latest Matlab versions do not work with the latest JDK versions. Only 7 or 8 are supported.
But last version of JeroMQ from gihub seems to use JDK with version >=9. Because after I ran the example from git I got exception like this:
I wonder if anyone has solved the JeroMQ in Matlab problem. Seems impossible.