Cycling74 / max-mxj

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

mxj and JDK version reporting #39

Closed jkcmusork closed 8 years ago

jkcmusork commented 8 years ago

It'd be great if we were able to easily know mxj and JDK version information somehow (including max-mxj respos git hash), either listing into the Support Information dictionary that gets sent to support, and/or the max window where the class path is reported (which would also be cool to add to the support information dictionary FWIW).

For reference, this dictionary is bound to gensym("#max:supportinfo")->s_thing

cassiel commented 8 years ago

JDK version would be this thing, presumably:

http://docs.oracle.com/javase/7/docs/technotes/guides/jni/spec/functions.html#wp23717

Easy enough to drop into initialisation code for mxj, I would think...?

(Actually, that only seems to return major/minor versions; System.getProperty("java.version") on the Java side is a bit more specific.)

pslack commented 8 years ago

I'll look at adding a JNI function to post some version information

P

pslack commented 8 years ago

I've added OS and JDK versions . .I haven't added MXJ version