Generally happens when the dll is not in the environment PATH.
Try adding the path awt.dll is in to the PATH variable.
Vinay
> -----Original Message-----
> From: A mailing list for discussion about Sun Microsystem's Java Servlet
> API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of Bo
> Wang
> Sent: Friday, June 09, 2000 10:18 AM
> To: [EMAIL PROTECTED]
> Subject: HELP NEEDED! THANKS IN ADVANCE!
>
>
> Hi, there,
>
> I've got a problem, I know that's not belong to this mailing list, but I
> don't know where I can get help, so please help me if somebody knows it:
>
> I'm using windows 98, and I just download jdk1.3, after I run the sample
> applet, I got the error message as below:
>
> Exception in thread "main" java.lang.UnsatisfiedLinkError:
> C:\jdk1.3\jre\bin\awt.dll: An attempt was made to load a program with an
> incorrect format
> at java.lang.ClassLoader$NativeLibrary.load(Native Method)
> at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1382)
> at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1298)
> at java.lang.Runtime.loadLibrary0(Runtime.java:749)
> at java.lang.System.loadLibrary(System.java:820)
> at
> sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:53)
> at java.security.AccessController.doPrivileged(Native Method)
> at sun.awt.NativeLibLoader.loadLibraries(NativeLibLoader.java:41)
> at sun.awt.DebugHelper.<clinit>(DebugHelper.java:29)
> at java.awt.Component.<clinit>(Component.java:356)
> at sun.applet.Main.run(Main.java:140)
> at sun.applet.Main.main(Main.java:82)
>
> and then I follows the instruction in README file, run this command:
> java -verbose sun.applet.AppletViewer, then I got another error message as
> below:
>
> ......
> Exception in thread "main" java.lang.UnsatisfiedLinkError: C:\Program
> Files\Java
> Soft\JRE\1.3\bin\awt.dll: An attempt was made to load a program with an
> incorrect format
> at java.lang.ClassLoader$NativeLibrary.load(Native Method)
> at java.lang.ClassLoader.loadLibrary0(Unknown Source)
> at java.lang.ClassLoader.loadLibrary(Unknown Source)
> at java.lang.Runtime.loadLibrary0(Unknown Source)
> at java.lang.System.loadLibrary(Unknown Source)
> at sun.security.action.LoadLibraryAction.run(Unknown Source)
> at java.security.AccessController.doPrivileged(Native Method)
> at sun.awt.NativeLibLoader.loadLibraries(Unknown Source)
> at sun.awt.DebugHelper.<clinit>(Unknown Source)
> at java.awt.Component.<clinit>(Unknown Source)
> ......
>
> I really appreciate if anybody can give me some suggestion.
>
> By the way, it's OK during compile time.
>
>
>
>
>
>
> ________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
>
> __________________________________________________________________
> _________
> To unsubscribe, send email to [EMAIL PROTECTED] and include
> in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html