Unable to create JVM
Hello,
When launching 01.mxj~noise.demo.pat, I am getting the following:
MXJ System CLASSPATH:
/Applications/Max5/Cycling '74/java/lib/jitter.jar
/Applications/Max5/Cycling '74/java/lib/jode-1.1.2-pre-embedded.jar
/Applications/Max5/Cycling '74/java/lib/max.jar
MXJClassloader CLASSPATH:
/Applications/Max5/Cycling '74/java/classes/
Unable to create JVM
MXJ System CLASSPATH:
/Applications/Max5/Cycling '74/java/lib/jitter.jar
/Applications/Max5/Cycling '74/java/lib/jode-1.1.2-pre-embedded.jar
/Applications/Max5/Cycling '74/java/lib/max.jar
MXJClassloader CLASSPATH:
/Applications/Max5/Cycling '74/java/classes/
/Applications/Max5/Cycling '74/java/classes/
Unable to create JVM
Anyone has a clue to solve this ?
I am using OSX.5.4 + Max5.0.4 + JavaForMacOSX10.5Update1 on Intel.
Thank you.
Nicolas
The error is still there with Max5.0.5.
It works correctly with Max 4.6.3.
N
On 26 Aug 2008, at 16:38, Piotr Dmitruk wrote:
> Witam Państwa w dniu 18.08-03.09.2008 przebywam na urlopie, po
> powrocie
> odpowiem na przeslane pytania.
I now know how to say "I am out of the office until the third of
September" in Polish. This list is so educational.
-- N.
Nick Rothwell / Cassiel.com Limited
www.cassiel.com
www.myspace.com/cassieldotcom
www.last.fm/music/cassiel
www.reverbnation.com/cassiel
www.linkedin.com/in/cassiel
www.loadbang.net
After messing around with preferences for a while, I found that the problem was from a file called com.apple.LaunchServices.plist
It included a faulty string, that caused the problem.
I suspect it was generated during MaxSDK installation.
I am having the same problem, but on the windows platform. If I compile a patch into a standalone, and then launch the standalone, I get the same error messages in the max window:
Unable to create JVM
also:
mxj no such object
Yes, I do have a mxj object in the patch
I have included the correct dlls in the correct folders of the standalone (as far as I understand), and I have placed the java class for the instance of mxj object into support/java/classes and the machine has Java installed.
Any suggestions? (Help!! Please!!)
T
I too am having this problem on, on mac osx. From what i've seen all across the forum, this is an issue that hasn't been solved. (Some people have achieved success, but their results are different from mine and others).
Having the same problem here. Annoying that some things are broken on 64 bit, and java is broken on 32 bit, so in neither version can I make full use of max/msps possibilities.
wich os are you using? what do you get when typing java -version in the terminal?
Hey! Thanks for the pointer. I complained/asked a bit too soon... the solution to my problem is the following:
First of all, I'm on Mac. And was running Java 1.8 which only runs in 64 bit. So I guess therefore it won't run on the 32bit version of Max.
Java 1.6 is the last one on Mac that runs in 32 bit, so I installed it.(see https://support.apple.com/kb/DL1572?viewlocale=en_US&locale=en_US )
Then in terminal I changed the default version of Java by entering:
export JAVA_HOME='/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home'
...and to switch back to Java 1.8, I enter:
export JAVA_HOME='/Library/Java/JavaVirtualMachines/jdk1.8.0_11.jdk/Contents/Home'
and I'm free to do what I want again... merci!
FWIW, the canonical way to find the path to a Java system under OS X is java_home
- so:
Yedikule:~ nick$ /usr/libexec/java_home
/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home
Yedikule:~ nick$ /usr/libexec/java_home -v 1.6
/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
@TARIK You should not need to switch Java Home Path. The problem is not the Java Version, but that Max (on OS X) does not recognize the Oracle Java Path. So you can keep your Home Path pointing to Oracle Java; as long as you have Java For OSX installed (The Apple Java package) it should work fine.
Thanks, I believe you're right!
I'm having the "Unablte to create JVM" on a new Mac Mini running the latest OSX (Mojave).
JavaScript was installed from:
https://www.java.com/en/download/faq/java_mac.xml
and also followed
https://www.java.com/en/download/help/mac_install.xml
But it's still "oranged out" when I try to initiate a [mxj] object and throws the error above.
The machine was restarted after install.
Any advice?
tried this ?
https://support.apple.com/kb/dl1572?locale=en_US
It works on mojave, it is just not stated on the web page
Max now recognizes Oracle Java, so it should not be necessary to go back to Apple Java. I could imagine though that newer Java version do not work. I am running Oracle Java 8 and it works.