|
|
Java app run from sh with SWT
|
|
02/03/2009 11:30 AM
post21332
|
Java app run from sh with SWT
I Am trying to run and compile a java app using SWT, from the shell, instead of momentics.
I am using the vm from eclipse with the Sun's lib files, where i have put SWT.jar into the same lib path. However when I
run my app where it just instantiates a Shell, I get the error:
noClassDefFoundError: org/eclipse/swt/widgets/Shell
But when I just import the class but not instantiate a Shell, I dont get the error.
I have looked through swt.jar and it appears to exist in the file. How do I make the VM recognize the class? Or do I
have a bigger problem?
|
|
|
|
|