Re: NoClassDefFoundError

"Christophe Bouhier (MC/ECM)" <[email protected]>
Newsgroups gmane.comp.windows.devel.jawin
Message-ID <54F404A6467B0242BBBE0E5EB405C2950C103D@emyklmw104.eapac.ericsson.se>
This is CLASSPATH issue.
Simply edit you CLASSPATH to contain the jawin directory.
You should be ready to go.

What I do is run from an IDE, which build the class paths for me.
the only thing you need to do is select the jawin directory.

Cheers / christophe

> -----Original Message-----
> From: Discussion of Java/Win32/COM integration with Jawin
> [mailto:[email protected]]
> Sent: Wednesday, March 23, 2005 6:21 AM
> To: [email protected]
> Subject: [JAWIN] NoClassDefFoundError
>
>
> I am tyring to get a Java application to interact with a .DLL
> using Jawin
> 1.0.19.  I have created the Stub java files and everything complies
> correctly. However when I run the java program I get the
> following error
>
> java.lang.NoClassDefFoundError: org/jawin/DispatchPtr
>
> I have set the class path to the correct directory that contains the
> jawin.dll file.  I even copied the jawin.dll file and the
> jawin.jar file
> into the directory with the application and also to the
> windows\system32.
> The app still can not seem to find the file.   Is there
> anything else that I
> should try.  I am using java SDK 1.5.0_02.  I am sure there
> is something
> simple that I am missing but if anyone could point it out
> that would be great.
>
> Thanks
>
> Roy
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.