swt application not running(very imp) [message #436704] |
Sat, 22 May 2004 08:09 |
Eclipse User |
|
|
|
Originally posted by: ssequeira.icope.com
I have a simple swt applcn.I have set the build paths by selecting
> swt.jar.Its compiling with no errors.Then i set the configuration using
> run->run..->java application and for that particular swt applicn i set the
VM arguments fields as:
-Djava.library.path=D:\eclipse
2.1.0\eclipse\plugins\org.eclipse.swt.win32_2.1.0\os\win32\x 86
Where D:\eclipse 2.1.0\eclipse\plugins\....is my root installtion
directory
> My project name is org.eclipse.test.(which is plugin project).My project
> tree is like this:
> --org.eclipse.test
> --src(this folder automatically done while creating blank plugin prjct)
> --org.eclipse.test(package name)
> --Testswt.java(my swt applicn)
>
> Now when i run(as java applicn)i get error in the console as:
>
> "could not find the main class.Program will exit" whereas i get a warning
dialog as :
main class could not find.Program will exit
>
> Can anyone tell me From beginning how to execute swt applicn.which project
> i have to create.
> regards
> steven
|
|
|
|
Powered by
FUDForum. Page generated in 0.02649 seconds