MXJ Does't work with MAX 5


    Oct 28 2010 | 5:04 pm
    I have a serious issue with max 5 and MXJ… nothing works.
    max always says: "Unable to create JVM"
    Although it does work with max 4.6…
    Here's the max.java.config.txt:
    ; This is the config used by Max when instantiating the JVM ; ; Comments are enclosed within 2 semicolons ;
    ; The file format is relatively fragile so pay attention ; ; when editing this file !! ;
    ; some example options one may use ;
    ; add all jars in /Users/topher/java/lib to the system classpath i.e. immutable classpath ; ; max.system.jar.dir /Users/topher/java/lib;
    ; add /Users/topher/foo to the system classpath i.e. immutable classpath ; ; max.system.class.dir /Users/topher/foo ;
    ; these next 2 are typically what you would want to use if you want additional directories ; ; added to your classpath for max ;
    ; add /Users/topher/myclasses to the dynamic classpath of MXJClassLoader ; ; max.dynamic.class.dir /Users/topher/myclasses ;
    ; add all jars in /Users/topher/myjars to the dynamic classpath of MXJClassLoader ; ;max.dynamic.jar.dir /Users/topher/myjars ;
    ; specify some jvm options ; max.jvm.option -Xincgc max.jvm.option -Xms64m max.jvm.option -Xmx256m
    ; uncomment these options(i.e. remove surrounding semi colons ; ; to cause the JVM to be created ; ; in debug mode and listening for remote debugger connections ; ; on port 8074. This would enable you to interactively debug ; ; your mxj code using JDB or some other debugger which supports ; ; the JDI wire protocol ;
    ; max.jvm.option -Xdebug ; ; max.jvm.option -Xnoagent ; ; max.jvm.option -Xrunjdwp:transport=dt_socket,address=8074,server=y,suspend=n ; ; max.jvm.option -XX:-UseSharedSpaces ;
    ; max.dynamic.class.dir /moi/Mes_patchs_Jitter_patches/fluid_particle_simulation/ ; ; max.dynamic.jar.dir /moi/Mes_patchs_Jitter_patches/fluid_particle_simulation/; ; max.dynamic.class.dir /MaxGoogleTalk/bin ; ; ; max.dynamic.jar.dir /MaxGoogleTalk/bin ;
    Max5/Cycling74/java/mxjpreferences.xml doesn't exist ! Would it be the solution of my problems ?
    10.5 last version of max 5.
    Thx, Ad.

    • Oct 29 2010 | 7:06 am
      So if you type mxj into a new object, ignore the error, and get help on mxj; what happens? Are you tying to run stuff from fluid_particle or maxgoogletalk? They are commented out? . . . More info needed?
    • Oct 30 2010 | 8:34 am
      When I try to get the help, it gives mxj general help nothing else, no link to my object… And yes I discover the problem in trying to run fluid-particle… Don't know what to do… What do you mean by conmmented out ? Thx fo your help; Ad,
    • Nov 01 2010 | 6:49 am
      can you give more details about your system?
    • Nov 01 2010 | 10:48 am
      Leopard 10.5.8, macbookpro JavaVM 12.6.0 GeForce 8600M GT: -ad-
    • Nov 02 2010 | 6:55 am
      open your terminal and type java -version
      what is the version that is printed?
      might be that you need to update java?
    • Nov 02 2010 | 8:34 am
      Hi This part
      ; max.dynamic.class.dir /moi/Mes_patchs_Jitter_patches/fluid_particle_simulation/ ; ; max.dynamic.jar.dir /moi/Mes_patchs_Jitter_patches/fluid_particle_simulation/; ; max.dynamic.class.dir /MaxGoogleTalk/bin ; ; ; max.dynamic.jar.dir /MaxGoogleTalk/bin ;
      which would add all the enclosed classes and jars to the search path; except they are commented out as per
      ; This is the config used by Max when instantiating the JVM ; ; Comments are enclosed within 2 semicolons ;
      Whit the help thing if a window came up doing animated text and fades etc, then MXJ is fine, read up a bit more on its setup and paths and the requirements of the fluid particle simulation package
      Cheers MM