Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » java.lang.NoClassDefFoundError:
java.lang.NoClassDefFoundError: [message #197596] Thu, 19 February 2004 05:23 Go to next message
Eclipse UserFriend
Originally posted by: dengwl.nitic.cn

hi,everybody:
help me,
i run SWT standalone examples helloworld1(SWT example Launcher ok!)
error:
java.lang.NoClassDefFoundError:
Djava/library/path=d:\eclipse\plugins\org/eclipse/swt/win32_ 2/1/2\os\win32\x86
Exception in thread "main"
ver:r2.1.2
java:j2re1.4.0
thank you!
Re: java.lang.NoClassDefFoundError: [message #197723 is a reply to message #197596] Thu, 19 February 2004 09:25 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: douglas.pollock.magma.ca

wenlin deng wrote:
> Djava/library/path=d
\eclipse\plugins\org/eclipse/swt/win32_2/1/2\os\win32\x86

I'm not sure if this is your problem, but shouldn't this line look like:

-Djava.library.path="D
\eclipse\plugins\org.eclipse.swt.win32_2.1.2\win32\x86"
Re: java.lang.NoClassDefFoundError: [message #198949 is a reply to message #197723] Fri, 20 February 2004 23:16 Go to previous message
Eclipse UserFriend
Originally posted by: huntdo.bc.edu

This is my VM paramater:
-Djava.library.path=C:\Eclipse212\eclipse\plugins\org.eclips e.swt.win32_2.1.
2\os\win32\x86

I spent alot of time trying to fix this problem myself. Just setting this
param makes everything work. I tried setting it also in the PATH variable
in my OS, but that didn't seem to work. Anyone know how to load this file
automatically into the java.library.path???
Thanks,
Doyle
"Douglas Pollock" <douglas.pollock@magma.ca> wrote in message
news:c12gr5$t54$1@eclipse.org...
> wenlin deng wrote:
> > Djava/library/path=d
> \eclipse\plugins\org/eclipse/swt/win32_2/1/2\os\win32\x86
>
> I'm not sure if this is your problem, but shouldn't this line look like:
>
> -Djava.library.path="D
> \eclipse\plugins\org.eclipse.swt.win32_2.1.2\win32\x86"
>
>
Previous Topic:Refresh a plugin?
Next Topic:JavaAppLauncher Warning on MacOS X
Goto Forum:
  


Current Time: Wed Sep 17 12:18:24 EDT 2025

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

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

Back to the top