Forums > MaxMSP

JVM problem

Jun 06 2011 | 5:59 pm


I am trying to experiment with a Java application that searches FreeSound Project for samples and i am having an error on a Macbook Pro with 10.5.8 installed. There seems to be a problem with JAVA. When i try to run the Application i get this error in the max window

java.lang.UnsupportedClassVersionError: Bad version number in .class file
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(
at com.cycling74.max.MXJClassLoaderImpl.doLoadClass(
at com.cycling74.max.MXJClassLoader.loadClazz(
Could not load class ‘FreeSound’

which i assume means that there are [and there are conflicting Javas on this machine. But hen i change the Java order or disable 1.5 i get
"Cannot Create JVM" or something very similar.

I am wondering if anyone has encountered this issue and has a fix for it?
I am trying to avoid installing Snow Leopard on this machine if i can solve it without a new OS upgrade.

/Applications/Java Preferences lists a Java 6 as 64 bit and i saw posted that max only likes 32 bit? I am not sure if this is outdated imfo or not.
Either we the app will not run currently.

I get a different error on a 10.6 machine regarding Java but this i think is a seperate issue.

thank you for helping

May 12 2012 | 10:56 pm

Hey, I have exactly the same problem as you. I’m also on 10.5.8 and either get the bad version error or can’t create the JVM (if I change or disable the Java order or different versions).
I saw your post is rather old already, did you find a solution?
Please let me know!! Thanks!!

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

Forums > MaxMSP