[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.newcomer] Re: JFace on Mac OS X

On 4/8/2009 3:17 PM, Nathan Greenfield wrote:
I'm a newbie following "The Definitive Guide to SWT and JFace". I'm
getting a runtime error when running a basic HelloWorld application.

Exception in thread "main" java.lang.NoClassDefFoundError:
org/eclipse/core/runtime/IProgressMonitor

I've done all the necessary path setting. When I inspect
org.eclipse.core.runtime that came with my copy of Eclipse (3.3 for the
Mac) I find that IProgressMonitor isn't in the JAR.

Do I have a bad copy of the library, or is the code I'm using from the
book bad?

That class lives in the org.eclipse.equinox.common plug-in. I suspect it moved from the org.eclipse.core.runtime plug-in back in 2005/2006 when Equinox was split out from the core platform project.


Hope this helps,
Eric