Need to include runtime.jar for 3.0 M4?

SWT Designer allows you to create the views, editors, perspectives, pref pages, composites, etc. that comprise Eclipse SWT & RCP applications and plug-ins.

Moderators: Konstantin.Scheglov, gnebling, Alexander.Mitin, jwren, Eric Clayberg

Need to include runtime.jar for 3.0 M4?

Postby ramana » Mon Nov 03, 2003 4:37 pm

Setup
Eclipse 3.0 M4
SWT_Designer 1.2.1 Beta

Created a simple Form using Form Layout and tried running the Java Application and I get the following error

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

Adding runtime.jar to the build path for the project fixed the problem. Is this the right way? If so, could you please update the documentation?
Thanks
Ramana
ramana
 
Posts: 1
Joined: Mon Nov 03, 2003 4:32 pm

Re: Need to include runtime.jar for 3.0 M4?

Postby Eric Clayberg » Mon Nov 03, 2003 9:22 pm

ramana wrote:Created a simple Form using Form Layout and tried running the Java Application and I get the following error

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

Adding runtime.jar to the build path for the project fixed the problem. Is this the right way? If so, could you please update the documentation?

The Eclipse runtime.jar may or may not be required depending on what widgets or JFace elements you are using. BTW, the new SWT Project wizard will add the core runtime jar to the project automatically.
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA


Return to SWT Designer

Who is online

Users browsing this forum: Google [Bot] and 1 guest