I've tried running Aptana Studio on OS X and when it runs I get this message
The JVM shared library "/Library/Java/JavaVirtualMachines/jdk1.8.0_11.jdk/Content/Home/bin/../jre/lib/server/libjvm.dylib" does not contain the JNI_CreateJavaVM symbol.
How do I fix this?
you just need to update your java JDK
you can use apple's support site :
https://support.apple.com/kb/DL1572?viewlocale=en_US&locale=en_US
or you can use the latest version from Java official site :
https://www.java.com/en/
then restart the device and enjoy Aptana
I am having the same error. It occurred under 1.7.0_65 so I upgrade to 1.8.0_11 and the issue persisted. I found a blog which describes a similar error with opening eclipse (Eclipse does not contain the JNI_CreateJavaVM) which suggests the issue is with the newer version of 64bit java and eclipse. Since Aptana is partly based on eclipse I figured it could be a similar issue so I went to the console log and found this...
8/13/14 4:40:49.756 PM AptanaStudio3[413]: Error loading /Library/Java/JavaVirtualMachines/jdk1.8.0_11.jdk/Contents/MacOS/libjli.dylib: dlopen(/Library/Java/JavaVirtualMachines/jdk1.8.0_11.jdk/Contents/MacOS/libjli.dylib, 265): no suitable image found. Did find:
/Library/Java/JavaVirtualMachines/jdk1.8.0_11.jdk/Contents/MacOS/libjli.dylib: mach-o, but wrong architecture
The error stating wrong architecture leads me to think there is truth to the blogger's findings. I would assume that you can always load an older version of Java JDK or run a 32bit version but it would all depend on if you really want to go that far.
Update: To test installed Java JRE 1.6 and that seemed to work (Apple Java for OS X 2014-001).
Host OS: Mac OS X
OS Version: 10.9.4
OS Arch: x86
JRE Version: 1.6.0_65
JRE Vendor: Apple Inc.
JRE Home: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
Aptana Studio 3 Version: 3.6.0.201407100658
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With