| Help on SWT Standalone Examples Setup [message #42190] | 
Sat, 18 January 2003 19:50   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
Originally posted by: bbyu.hotmail.com 
 
I tried to run these examples by following "SWT Standalone Examples Setup" 
found in the Eclipse Help.  Every time when I ran the examples, I got the 
following error message: 
 
java.lang.NoClassDefFoundError: 
 Djava/library/path=D:\eclipse\plugins\org/eclipse/swt/win32_ 2/0/2\os\win32\x86 
Exception in thread "main"    
 
I did not check anything in the sample code files and I am running Eclipse 
and these examples on Win 2000.  Could not figure out why ... 
 
Thanks.
 |  
 |  
  | 
 | 
| Re: Help on SWT Standalone Examples Setup [message #42450 is a reply to message #42190] | 
Tue, 21 January 2003 04:14   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
Originally posted by: ianp.tibco.com 
 
> I tried to run these examples by following "SWT Standalone Examples Setup" 
> found in the Eclipse Help.  Every time when I ran the examples, I got the 
> following error message: 
>  
> java.lang.NoClassDefFoundError: 
>  Djava/library/path=D:\eclipse\plugins\org/eclipse/swt/win32_ 2/0/2\os\win32\x86 
> Exception in thread "main"    
 
Looks like you've omitted a hyphen from the command line. The java 
launcher is interpreting what should be a parameter to the VM as the name 
of the class to load and run. 
 
Try something like: 
 
java -Dparameter=value name.of.class.to.Load 
 
instead of 
 
java Dparameter=value name.of.class.to.Load 
 
and see what happens. 
 
Hope this helps, 
Ian. 
 
--  
#ifndef  __COMMON_SENSE__ | Ian Phillips 
#include <std_disclaimer> | TIBCO Software Inc. 
#endif                    | www.tibco.com
 |  
 |  
  | 
| Re: Help on SWT Standalone Examples Setup [message #588887 is a reply to message #42190] | 
Mon, 20 January 2003 09:06   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
Check the FAQs, and if that doesn't help, ask on eclipse.tools. 
 
"BYU" <bbyu@hotmail.com> wrote in message news:b0csnp$sd4$1@rogue.oti.com... 
> I tried to run these examples by following "SWT Standalone Examples Setup" 
> found in the Eclipse Help.  Every time when I ran the examples, I got the 
> following error message: 
> 
> java.lang.NoClassDefFoundError: 
> 
 Djava/library/path=D:\eclipse\plugins\org/eclipse/swt/win32_ 2/0/2\os\win32\x 
86 
> Exception in thread "main" 
> 
> I did not check anything in the sample code files and I am running Eclipse 
> and these examples on Win 2000.  Could not figure out why ... 
> 
> Thanks. 
> 
> 
>
 |  
 |  
  | 
| Re: Help on SWT Standalone Examples Setup [message #588936 is a reply to message #42190] | 
Tue, 21 January 2003 04:14   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
> I tried to run these examples by following "SWT Standalone Examples Setup" 
> found in the Eclipse Help.  Every time when I ran the examples, I got the 
> following error message: 
>  
> java.lang.NoClassDefFoundError: 
>  Djava/library/path=D:\eclipse\plugins\org/eclipse/swt/win32_ 2/0/2\os\win32\x86 
> Exception in thread "main"    
 
Looks like you've omitted a hyphen from the command line. The java 
launcher is interpreting what should be a parameter to the VM as the name 
of the class to load and run. 
 
Try something like: 
 
java -Dparameter=value name.of.class.to.Load 
 
instead of 
 
java Dparameter=value name.of.class.to.Load 
 
and see what happens. 
 
Hope this helps, 
Ian. 
 
--  
#ifndef  __COMMON_SENSE__ | Ian Phillips 
#include <std_disclaimer> | TIBCO Software Inc. 
#endif                    | www.tibco.com
 |  
 |  
  | 
Powered by 
FUDForum. Page generated in 0.03668 seconds