Resolved: Eclipse Issue On Mac OS X
I ran into weird issue on Mac OS X with Eclipse
My environment:
OS: Mac OS X 10.5.5
Eclipse: 3.4
JDK: 1.6
I changed my default JDK from 1.5 to 1.6 under (/System/Library/Frameworks/JavaVM.framework/Versions).
Then I tried to open Eclipse & threw the following error
NSAddLibrary failed for /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Libraries/libjvm.dylib
Finally I found the solution:
Somehow JDK 1.6 is not supported in Apple’s native format for Java. To resolve this issue
Edit the eclipse/Eclipse.app/Contents/Info.plist;
Uncomment the line which points to -vm /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Commands/java. And you are done 🙂