Picture of admin

Eclipse and Mac OS X

  • Posted By admin on November 13, 2004

I’ve been running Eclipse on my Mac (or, more specifically, my wife’s Mac) for a couple of months now. Version 3.0.1 was usable even on her iBook. Everything went swimmingly until my PowerBook arrived. I installed Eclipse and got it working, but then updated the JDK to 1.4.2_05 and Eclipse thereafter failed to load.

The error logs were particularly cryptic: error loading bundle, such-and-such plugin manifest not found, etc. I tried going back to 3.0, then back to 3.0.1. I tried wiping the preferences, zapping the pram, and every other Mac trick I could think of. Then I decided to investigate the logs some more.

Buried deep within the stack trace was a SAX error. It said that string interning wasn’t a viable option for the current parser. So I scratched my chin, furrowed my brow, and went and looked at my brand new JDK. Lo and behold, I had libraries in /lib/endorsed. Xerxes was there, as well as the sax interfaces. So I nuked them. Eclipse has worked fine since.

The question, though, is what will that do to the rest of my Mac? Is there anything in 10.3.5 that depends on those endorsed libraries? Are there Mac-specific changes to those libs prompting their inclusion in my JDK? Am I going to get bitten by a nasty, impossibly cryptic bug somewhere else now that I’ve eliminated the /endorsed folder? I’m on the edge of my seat waiting to find out.

Comments
  1. JeffDecember 13, 2004 @ 05:40 PM
    I believe you can set a system property java.endorsed.dirs to some bogus directory (or some empty directory) and that should tell the JVM to look there instead of the default /lib/endorsed (I have not tried though). eclipse -vmargs -Djava.endorsed.dirs=/tmp/bogus Went to some of you NFJS session in N. VA. Great stuff. You and Venkat were 10x more engaging and informative than the others I was exposed to. Great Job.
  2. Tatty Prescription MedicationMay 08, 2006 @ 02:57 PM
    Just thought I'd make a note about a problem :(
  3. Vintage Batman And Robin PostersMay 12, 2006 @ 05:40 PM
    There is some strange behaviour with this...
  4. Adventure Traveling BeijingMay 13, 2006 @ 05:56 PM
    There is some strange behaviour with this...