Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » ApplicationWindow: can't find main method
ApplicationWindow: can't find main method [message #459799] Wed, 17 August 2005 11:13 Go to next message
user is currently offline userFriend
Messages: 296
Registered: July 2009
Senior Member
Hi there!

I was just going through a jFace tutorial, when i was wondering about
following pop-up, while i was starting the ApplicationWindow-extending
example-class as a SWT-Application:

Could not find the main class. Program will Exit.

I added every library to the classpath, that is neccessary, and what i'm
wondering about most, is that the problem does not occure, when i use
the class Window; which ApplicationWindow is a of subclass.

i'm a little bit depressed because of this; would be pleased about help!
Re: ApplicationWindow: can't find main method [message #459801 is a reply to message #459799] Wed, 17 August 2005 12:35 Go to previous message
user is currently offline userFriend
Messages: 296
Registered: July 2009
Senior Member
i've fixed the problem...

i just added the org.eclipse.core.runtime...jar to the package and it
worked.

user@domain.invalid schrieb:
> Hi there!
>
> I was just going through a jFace tutorial, when i was wondering about
> following pop-up, while i was starting the ApplicationWindow-extending
> example-class as a SWT-Application:
>
> Could not find the main class. Program will Exit.
>
> I added every library to the classpath, that is neccessary, and what i'm
> wondering about most, is that the problem does not occure, when i use
> the class Window; which ApplicationWindow is a of subclass.
>
> i'm a little bit depressed because of this; would be pleased about help!
Previous Topic:KTable native?
Next Topic:How chage the SWT version
Goto Forum:
  


Current Time: Tue Apr 20 21:11:08 GMT 2021

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

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

Back to the top