HOnza

JavaVM: Failed to load JVM: /System/Library/Frameworks/JavaVM.framework/Versions/1.6//libserver.dylib

Discussion created by HOnza on Sep 3, 2013
Latest reply on Sep 4, 2013 by Malcolm

Any idea why JavaVM keeps failing to load when trying to access the java command line tool from within FileMaker while the same thing works fine in Terminal?

 

FileMaker Pro Advanced 12v4, Mac OS X 10.8.4

 

Running java -version in Terminal returns:

 

java version "1.6.0_51"

Java(TM) SE Runtime Environment (build 1.6.0_51-b11-457-11M4509)

Java HotSpot(TM) 64-Bit Server VM (build 20.51-b01-457, mixed mode)

 

Running the same within a plug-in (i.e. Toolbox_DoSystemScript("java -version 2>&1"; "BASH")) returns:

 

 

JavaVM: Failed to load JVM: /System/Library/Frameworks/JavaVM.framework/Versions/1.6//libserver.dylib

JavaVM: Failed to load JVM: /System/Library/Frameworks/JavaVM.framework/Versions/1.6//libserver.dylib

 

 

Running do shell script "java -version" inside Perform AppleScript returns the same error:

Any clues?

 

Thanks,

HOnza

Outcomes