Saturday, August 9, 2014

Eclipse Requiring JDK 6 Post OSX Maverick Update

I upgraded to Maverick OSX a few days back. Then when I started my ADT Eclipse back, surprisingly it threw a modal window asking for JDK 6 and asking to install if it didn't exist.

I checked through commandline that I had JDK 7 and on the path, so it was puzzling why Eclipse is behaving strangely. I was in no mood to install another JDK, that too one with out of End of Life support. So a quick googling I came across an easier solution that I am sharing here for everyone's benefit.
  1. Open folder /Library/Java/JavaVirtualMachines/jdk.1.7.x/Contents/
  2. Open Info.plist
  3. Replace line 
    With this
  4. Log out or Restart your machine
Hopefully this should help and work for you. 

No comments:

Post a Comment