Sorry if i view it over-simplistically:

did u create a html file to call out the applet, and use either a browser to
open
the html file, or use appletviewer to invoke a separate window running the
applet?

Daniel Pook Ngai Lin

Nanyang Technological University
Centre for Education Development
* [EMAIL PROTECTED]
*   (65) 790-4693
*    Fax: (65) 791-1846


-----Original Message-----
From: Bo Wang [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 08, 2000 11:48 PM
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

Reply via email to