danny de graan wrote:
> Hi There,
>
> I have some problems with the mxj~ object to include it in a
> standalone.
>
> When I build the standalone and run it, it will give me the following
> message in the max window of the standalone:
>
> (mxj) Unable to resolve path of max.jar!mjx is rendered powerless.
> •error: Unable to create JVM
>
> I tried to include the classes and java files in the build but no
> luck.
>
> After this I tried to open de standalone and place the apropiate
> files in the support folder but no luck there either.
>
> Does anyone have an idea how to resolve this problem?
>
> Im on a macbook pro running 10.4.11 and the latest maxmsp-jitter.
>
>

The error I posted 2 posts ago happened because I had a [standalone] and a [onecopy] in the patch. It gave me that strange error…no idea why. However, I removed the files and now everything works again.

It would be nice to hear what you did and how you made it work; I have this issue with max 5 on mac, but all the threads I read about it say the same thing: copy to the content/support/java folder, to no avail…

I wish when people say ‘it works now’ they actually post the fix or answer; I thought that was part of basic forum etiquette.

(also the newer ver. shows the same mistakes!) if I want open e.g. several mxj mxj~ tutorial-patches (we don’t read at this time about the self developed mxj mxj~ which works well under MaxMsp ver.4.6.3)

Attachments:

I have the same problem here. Building an app containing java worked with Max 5, but not now with Max 6.1.
Even if I tried putting C74 java folder inside the app, it still gives me this :
(mxj) Unable to resolve path of max.jar! mxj is rendered powerless.
Unable to create JVM

Oh, I think I solved it. Before building open the inspector of the standalone object and check the box of the setting called "Make Application Subfolder Search Path". Then after building the app do what Emmanuel said -> copy the java folder (put e.g. your java class file into the class folder inside the java folder) from Applications/Max6/Cycling ’74 to myApp.app/Contents/support/.