Creating a Standalone App with Java

maybites's icon

Hi

I am failing to create a standalone application with my java external. I followed this info: https://cycling74.com/docs/max5/vignettes/core/standalone_platform_mac.html, but to no avail.

After copying the stated files, the max windows will only tell:

(mxj) Unable to resolve path of max.jar! mxj is rendered powerless.
Unable to create JVM

any hints?

Emmanuel Jourdan's icon

Try to just copy the entire C74:/java folder into yourapp.app/Contents/support/

maybites's icon

no luck, same result. I copied the complete folder into

yourapp.app/Contents/support/

and, as stated in the docu

yourapp.app/Contents/MacOS/support/

folders.

Emmanuel Jourdan's icon

I just tried:
- make a patch with mxj net.local
- create the standalone
- copy the C74:/java folder in TheApp.app/Contents/support/

so it looks like TheApp.app/Contents/support/java/*

maybites's icon

Update: It works on my MacBook Pro - but the application doesnt even start on my MacPro (on which I failed to create the same application).

I have the same max version (5.1.4) installed on both machines.

Hans Höglund's icon

Are the java and javac version also identical on your machines?