In this tutorial, Nick Rothwell will lead us through the process of setting up the powerful Eclipse IDE for creating MXJ objects for Max. Here we go... Setting up the Eclipse Project I'm assuming that the workspace will be in /Users/~~username~~/workspace - if not, make the necessary alterations.
This is a quick rundown of how the MXJ class loader works, and the implications for class variables (statics). The first time an MXJ object is instantiated in Max/MSP, a JVM is launched to host the MXJ objects.
I was playing with a now-modified version of the flocking analog synthesis patch mentioned here earlier today, and decided that I wanted to know what the initial parameters that controlled the Java-in-Max "Flies" object was.