Forums > MaxMSP

Built app can't find max.jar

April 12, 2011 | 11:32 am

( MacBook Pro 2.4 GHz, OS 10.6 MAX 5.1.7)

There is a message, when I launch an app (with mxj & jitter included) I made with
"build coillective / app" on Max 5,
it is :
"(mxj) Unable to resolve path of max.jar! mxj is rendered powerless. Unable to create JVM"

So I included manually max.jar & jitter.jar
in
contents/support/java/lib/

and my class files in
contents/support/java/classes/

and max.java.config.txt in
contents/support/java

(as was suggested in some post by e.jourdan)

… But still it shows the same error message.

What can I do ?

Thanks

rodolphe


April 13, 2011 | 8:28 am

OK, I finally succeeded in building the app by copying ALL of the c74 java folder in the Contents folder, as seen in another e.jourdan post…

thanks


May 31, 2011 | 12:17 pm

Hi I have hit the same problem and resolved with the above advice of copying the java folder. As I build my app quite often, is there a way of automating this. If I had the folder in the build gui it adds a line

folder "…..Cycling ’74/java"

but that has no effect. I’m hoping there’s a way I can avoid manually copying a bunch of files every time I want to build. Are there any tricks I can do? maybe call an applescript after build?


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