Cycling74 / max-mxj

Java support for Max by Cycling '74
MIT License
17 stars 11 forks source link

Verify Jitter Java JNI works #37

Closed jkcmusork closed 8 years ago

jkcmusork commented 8 years ago

There are some potential issues regarding jitter java JNI stuff (which is inside jitlib currently) and I guess it's worth some testing with the Java 1.8 JDK. Essentially we include explicitly a very old JNI header and make all calls through a global jvm pointer.

I don't know how this works or doesn't work with the new Java 1.8 JDK, but it is working with Java 1.6 JDK. If there are binary incompatibilities with this Jitter JNI stuff, we might need to do some extraction of the jitter JNI stuff out of jitlib too.

jkcmusork commented 8 years ago

The JNI interface seems to be working properly under Java 1.8 64bit under OS X, so I'm closing out, unless something else arises. There are however some hangs for certain examples which seem related to issue #38 (e.g. try loading cubiccurve-example.maxpat before any other mxj object has been loaded, but others work fine)