Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Re: JFace outside eclipse still needs eclipse core runtime?
Re: JFace outside eclipse still needs eclipse core runtime? [message #294694] Wed, 16 November 2005 09:23
Eclipse UserFriend
Bridget Widget wrote:
> I'm trying to develop a standalone application, which should be a wizard
> that users can use as a GUI without using Eclipse.
> I understand from the documentation and from the article "Developing
> JFace wizards Using the JFace toolkit" by Jeff Gunter found at the IBM
> site http://www-128.ibm.com/developerworks/java/library/os-ecjfw
> that this should be possible.
>
> Now I try to run the example provided at that site with the following
> Error:
> java.lang.NoClassDefFoundError: org/eclipse/core/runtime/IProgressMonitor
>
> This sounds to me, that I do need eclipse core runtime classes. Is that
> true? Or do I simply use an outdated example and should change to newer
> resources? If so, where to find it (I searched the eclipse site already
> and even IBM's).

You don't need to run eclipse, but you do need the runtime jar in your
classpath (org.eclipse.core.runtime_XXX.jar). Or you could extract the
that class from the runtime jar ... It doesn't seem to have any other
dependancies on runtime.

That's the quick fix. You can also open a
https://bugs.eclipse.org/bugs/ against Platform/UI and ask about the
dependancy.

And lastly, I'm moving this to eclipse.platform, they work on JFace.

Later,
PW
Previous Topic:JavaScript function within literal text
Next Topic:SWT/Swing Integration flickering problem
Goto Forum:
  


Current Time: Wed Sep 17 22:24:26 EDT 2025

Powered by FUDForum. Page generated in 0.04797 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top