I'm getting the following exception when calling WebSocketConnect["wss://stream.binance.com:9443/ws/btcusdt@miniTicker"]
:
Java::excptn: A Java exception occurred: java.lang.ClassNotFoundException: websocketjlink.WebSocketJLinkClient
at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:476)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:589)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Class.java:398).
I'm using Mathematica 13.1 on MacOS and Java version 11.0.15
LoadJavaClass["websocketjlink.WebSocketJLinkClient"]
doesn't work, but LoadJavaClass["java.net.URL"] // Methods
works fine.
ExternalEvaluate["Java", "System.getProperty(\"java.version\")"]
returns 11.0.15
Is there a workaround?