I've an existing RubyCocoa app that has stopped working on Snow
Leopard. When it starts it just quits and the following appears on the
console:
[Deprecated] CocoaJava: com.apple.cocoa.foundation.NSRuntime
-[NSJavaVirtualMachine initWithClassPath:] FATAL: cannot initialize
ObjCJava. Exit
When googling around I've found that appears that it might be related
to 64-bit version of Java on Snow Leopard. The problem is that my app
doesn't use Java! It works on Tiger and Leopard however and is using
RubyCocoa 0.13.2 as an embedded framework.
Does anybody have any idea about what is causing this? Does RubyCocoa
have any dependencies on Java?
Best regards,
Jacob Wallström
otool -L gives the following result:
/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
(compatibility version 45.0.0, current version 949.0.0)
/System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
(compatibility version 300.0.0, current version 677.12.0)
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/libruby.1.dylib
(compatibility version 1.8.0, current version 1.8.6)
@executable_path/../Frameworks/RubyCocoa.framework/Versions/A/RubyCocoa
(compatibility version 1.0.0, current version 1.0.0)
/System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
(compatibility version 1.0.0, current version 12.0.0)
/System/Library/Frameworks/ExceptionHandling.framework/Versions/A/ExceptionHandling
(compatibility version 1.0.0, current version 10.0.0)
@executable_path/../Frameworks/Sparkle.framework/Versions/A/Sparkle
(compatibility version 1.0.0, current version 1.0.0)
/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 111.0.0)
/usr/lib/libobjc.A.dylib (compatibility version 1.0.0, current version 227.0.0)
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
(compatibility version 150.0.0, current version 476.0.0)
|