MXJ jar files - how to load them in Max 7 on OSX

xMonsta's icon

Having tried just about every way/location to load MXJ jar external files in Max, it seems that it is not possible to load them.

Anyone been successful in a recent Max distribution e.g. 7.0.5 to get a MXJ jar file to load? If so, how do you do it?

This is mostly OSX, but Windows has the same problems too. At least in windows you can put the files in the Max path. In OSX if you put them in the Max path, they wont load (because the app will be broken)

This part of Max seems completely broken at the moment... , so it would be good if others can confirm/deny...

xMonsta's icon

ok, now have managed to figure out the folder structure for the Libabry/Package folders - would be great to have some better documentation on this with examples.

Having tested this pretty extensively, it seems Windows (at least Win 7) seems to be having problems loading MXJ's from the Library folder.

To load an MXJ I've found that on Windows this works:

C:\Users\All Users\Max 7\Packages\MyPackageName\java-classes\lib\pathtomyMXJ.jar

However, this does not work:

C:\Users\All Users\Max 7\Library\java-classes\lib\pathtomyMXJ.jar

Whereas on MAC OSX:

This works:

/Users/Shared/Max 7/Packages/MyPackageName/java-classes/lib/pathtomyMXJ.jar

And this works:

/Users/Shared/Max 7/Library/java-classes/lib/pathtomyMXJ.jar

xMonsta's icon

Finally figured this out. When using an MXJ on OSX within an AMXD, when you freeze the AMXD, Max will not find the MXJ object. Max requires you to go to the unfrozen file structure and insert the mxj.mxo object. Pretty sure this is a bug, because Max should be finding the mxj.mxo external from the core installed files. It shouldn't require it to be frozen with the device.

Jan M's icon

It's not clearly stated in the doc, but for java and frozen M4L devices basically the same rule apply as for standalone builds. The Infos are hidden here: https://docs.cycling74.com/max7/tutorials/jitterchapter99_appendixd