Skip to main content



      Home
Home » Eclipse Projects » Technology Project and PMC » Help on SWT Standalone Examples Setup
Help on SWT Standalone Examples Setup [message #42190] Sat, 18 January 2003 19:50 Go to next message
Eclipse UserFriend
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 #42347 is a reply to message #42190] Mon, 20 January 2003 09:06 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: dwhitema.us.ibm.com

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 #42450 is a reply to message #42190] Tue, 21 January 2003 04:14 Go to previous message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
> 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
Previous Topic:Refactoring - Extract Class
Next Topic:Refactoring - Extract Class
Goto Forum:
  


Current Time: Tue Jul 15 05:28:18 EDT 2025

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

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

Back to the top