I tried it. It gave me the same error messages. Looks like that it
doesn't like the awt.dll.


Exception in thread "main" java.lang.UnsatisfiedLinkError: C:\program
files\javasoft\jre\1.2\bin\awt.dll:
An attempt was made to load a program with an^M
incorrect format
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1203)
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1119)
        at java.lang.Runtime.loadLibrary0(Runtime.java:470)
        at java.lang.System.loadLibrary(System.java:745)
        at
sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:57)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.awt.Toolkit.loadLibraries(Toolkit.java:882)
        at java.awt.Toolkit.<clinit>(Toolkit.java:903)
        at java.awt.Component.<clinit>(Component.java:258)


-----Original Message-----
From:   Timothy L. Parthemore [SMTP:[EMAIL PROTECTED]]
Sent:   Wednesday, August 11, 1999 3:20 PM
To:     [EMAIL PROTECTED]
Subject:        Re: [JAVA3D] error running a java program

I had the same problem, which I fixed....here is the possible solution

Do you have the JRE installed with the JDK? If you do not have the
executables paths properly set, it may not be running the java.exe that
you
expect.

        Where I think that my java.exe is running

        1.  c:/program files/javasoft/jre/1.2/bin/java.exe

        Where java.exe is actually running from
        2.  c:/jdk1.2.1/jre/bin


So if your machine is looking in the second directory for the
executables,
you must have the dll's installed there.  If you do not, it will give
you
the linking error, because it is looking for the java.exe in a
directory
that you do not expect it to.

        I hope this helps...if it's unclear send me a reply.

        Tim

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
of the message "signoff JAVA3D-INTEREST".  For general help, send email
to
[EMAIL PROTECTED] and include in the body of the message "help".

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to