Forums > Java

Another mxj standalone issues

Sep 02 2009 | 3:57 pm


first :

MaxSystem.isStandalone() doesn’t work for me.
It always return false, in a standalone, in max runtime or in max.

second :

The documentation says there should be a MaxSystem.isRuntime() function and compiler disagrees.



Sep 02 2009 | 9:43 pm

Which version of Max are you using? You need 5.0.6 or higher to use MaxSystem.isRuntime().

Sep 02 2009 | 10:55 pm

Hi Emmanuel,

I’m using MaxMSP 5.0.7


Sep 03 2009 | 11:27 am

Mac OS or Windows?

Sep 03 2009 | 12:54 pm

Mac Os 10.5.8


Sep 03 2009 | 2:04 pm

That’s odd. Make sure that you compile against the latest max.jar. What I did was:

– create an object "mxj quickie toto"
– double click on it
– modify the bang method:

public void bang()
outlet(0, MaxSystem.isRuntime());

– compiled
– made an object "mxj toto" and connected a numbox to the left outlet
– sent a bang to "mxj toto" it reported 0.

Sep 03 2009 | 2:51 pm

Thanks Emmanuel,

And sorry, I made a confusion between two eclipse project, one with max.jar from max4.6, the other with the one from max5.
So everything’s fine with MaxSystem.isRuntime().

But MaxSystem.isStandAlone() always returns false for me.
My life doesn’t depend on it but if you have time to check…

Thanks again


Viewing 7 posts - 1 through 7 (of 7 total)

Forums > Java