Symptom¶
You get the following errors in the Runner/Server Log:
JavaVM: Failed to load JVM: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bundle/Libraries/lib/myuser/squish-4.x-java-macx86_64/lib/libjvm.dylib
JavaVM FATAL: Failed to load the jvm library.
Possible causes¶
32/64 bit mix up¶
Squish for Java is available in two variants: 32 bit and 64 bit. You must use the variant that matches the number of bits of your Java application when run outside of Squish.
To check this do the following:
Start your Java application.
Start
Activity Monitor
.Locate your Java application's process in
Activity Monitor
.Look at the column "Kind" of your Java application's process:
Intel
- means that your Java application is running as a 32 bit process.Intel (64 bit)
- means that your Java application is running as a 64 bit process.
Non existing file libjvm.dylib configured¶
In the file $HOME/.squish/ver1/server.ini
change the line...
...to...