I need to get somehow the directory where the current patcher (the one
containing my mxj object) is stored (I have an xml with default settings
for my object, and I would like to place this in the same directory as
the Max patch itself). Using System.getProperty("user.dir"), I get the
root folder of my filesystem (I'm on OS X 10.4.10) if executed from mxj,
while in Eclipse I get the current runtime folder (as expected). Is
there some mxj-specific solution for this? Also, is there any mxj method
to get the current Max/MSP installation path?