Tag Archives: Java

May be it’s too late for me as a Java developer to realize this! There’s no more old JDK exist in Snow Leopard!
Well, actually it’s neither a problem for general user nor Apple. Just if you’re working on a project which is still compiled by the aging JDK1.5, that would be a concern…

It’s quite tricky that Snow Leopard set all old JDK as alias to 1.6…. That why I thought they still exist…

If you got the same problem and you found such error in your Users/x/Documents/.metadata/.log, you should download the latest Eclipse 3.5 (currently M2) build from Eclipse download site.

org.eclipse.swt.SWTException: Widget is disposed
        at org.eclipse.swt.SWT.error(
        at org.eclipse.swt.SWT.error(
        at org.eclipse.swt.SWT.error(
        at org.eclipse.swt.widgets.Display.error(
        at org.eclipse.swt.widgets.Display.checkDevice(
        at org.eclipse.swt.widgets.Display.update(
        at org.eclipse.jface.window.Window.runEventLoop(
        at win32.Main1.main(

Including myself, many Java developers are scratching their heads because of the stability issue of Eclipse after upgrading their Mac OS X to Leopard. It’s mentioned in so many Java forums and also Apple Discussion forum, but don’t know why neither Eclipse nor Apple has update about problem. Eclipse would crash and close itself if you try some of your familiar shortcut keys.

Hopefully, I searched the net and thanks to plan4041, he posted a hint how to resolve this problem. You may find the latest build of Eclipse from For me, I’m using 3.3, so I got M20080130-0800. Extract the latest build and copy these 2 files from the build to replace your local copy.


I don’t know what have been changed in the build lately and not sure if it has solved the problem totally. But what I feel is now I can use command+shift+T that I used most and it would crashed Eclipse very often before.

Honestly I’m happy with Leopard except this issue. Hope you can still continue your Java development in Leopard!