java.lang.UnsatisfiedLinkError

2010-08-23
2013-06-12
  • padmavathi pappala

    while executing a STAF program written in JAVA I'm getting the following error.
    Exception in thread "main" java.lang.UnsatisfiedLinkError: C:\STAF\bin\JSTAF.dll: Can't load AMD 64-bit .dll on a IA 32-bit platform
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1676)
    at java.lang.Runtime.loadLibrary0(Runtime.java:823)
    at java.lang.System.loadLibrary(System.java:1030)
    at com.ibm.staf.STAFHandle.<clinit>(STAFHandle.java:117)
    at com.ibm.staf.STAFJVMLogViewer.<init>(STAFJVMLogViewer.java:205)
    at com.ibm.staf.STAFJVMLogViewer.main(STAFJVMLogViewer.java:167)

    Can anyone help me in resolving this problem???

     
  • padmavathi pappala

    my machine is windows 2003 64 bit machine . Installed STAF 64 bit .

     
  • David Michael Bender

    It appears that you are using a 32-bit JVM.  To use the 64-bit version of STAF, you must use a 64-bit JVM.

     
  • MSF

    MSF - 2012-10-15

    Please make sure you have C:\STAF\bin\JSTAF.jar in your class path too. :)

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks