Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Java GUI program NoClassdefFoundError exception
Java GUI program NoClassdefFoundError exception [message #19372] Sun, 11 May 2003 20:35
Eclipse UserFriend
Originally posted by: hemangcs.yahoo.com

Hi,
I was trying a simple GUI program on Eclipse

import org.eclipse.jface.window.*;
import org.eclipse.swt.widgets.*;

public class javagui{

public static void main(String[] args) {
ApplicationWindow w = new ApplicationWindow(null);
w.setBlockOnOpen(true);
w.open();
Display.getCurrent().dispose();
}
}

Each time I try to run this I get this error.
java.lang.NoClassDefFoundError: javagui.Exception in thread "main"
Think that this is because of a problem in setting the classpath variable
How do I do that?

regards
Hemang
Previous Topic:Want to add to search result pane (without search page)
Next Topic:jsp support for oc4j
Goto Forum:
  


Current Time: Thu Dec 26 12:28:05 GMT 2024

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

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

Back to the top