Archive for the ‘apple’ Category

Eclipse, Mac OS X, JDK 1.6

Wednesday, January 21st, 2009

Question: how do you not want to start an unseasonably cold Northern Virginia winter morning?
Answer: have some chill down the spine when you fire up Eclipse on your Mac Book Pro Toy(tm), only to get hit by this mysterious error message:

_NSJVMLoadLibrary: NSAddLibrary failed for /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Libraries/libjvm.dylib
JavaVM FATAL: Failed to load the jvm library.

As the initial “oh crap now we don’t have Bush to blame it on” panic settles in, you realize since the last time Eclipse ran fine, you did go in there and tinkered with that “CurrentJDK” stuff, so that JDK 1.6 instead of 1.5 would be the default.

So you start googling frantically and find, through the first link returned, this neat solution by rkischuk. The only difference is that the file you have to edit is located at:


Hmm…, and when Steve Jobs said “Java’s not worth building in,” you thought he was only talking about the iPhone.