java.lang.UnsatisfiedLinkError: /Library/staf/lib/libJSTAFSH.jnilib:  no suitable image found.  Did find:  /Library/staf/lib/libJSTAFSH.jnilib: mach-o, but wrong architecture  /Library/staf/lib/libJSTAFSH.jnilib: mach-o, but wrong architecture

staf | amyzhu | 7 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Does STAF support for mac 10.6?

    staf | 7 years ago | amyzhu
    java.lang.UnsatisfiedLinkError: /Library/staf/lib/libJSTAFSH.jnilib:  no suitable image found.  Did find:  /Library/staf/lib/libJSTAFSH.jnilib: mach-o, but wrong architecture  /Library/staf/lib/libJSTAFSH.jnilib: mach-o, but wrong architecture
  2. 0

    error registering STAF

    staf | 10 years ago | pappala
    java.lang.UnsatisfiedLinkError: C:\STAF\bin\JSTAFSH.dll: Can't load AMD 64-bit .dll on a IA 32-bit platform
  3. 0

    STAF/STAX installation problem.

    staf | 5 years ago | creagan82
    java.lang.UnsatisfiedLinkError: JSTAFSH (Not found in java.library.path)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Problem with starting STAX Service in HP-UX

    staf | 8 years ago | chockalingams
    java.lang.UnsatisfiedLinkError: no JSTAFSH in java.library.path
  6. 0

    STAF.cfg file on different platforms

    staf | 8 years ago | tonnix
    java.lang.UnsatisfiedLinkError: /home/qaprice/staf/solaris/lib/libJSTAFSH.so: ld.so.1: java: fatal: /home/qaprice/staf/solaris/lib /libJSTAFSH.so: wrong ELF class: ELFCLASS64

  1. iferca 1 times, last 1 month ago
  2. filpgame 1 times, last 1 month ago
  3. Adrien 6 times, last 2 months ago
  4. PKeidel 9 times, last 2 months ago
  5. rafael 3 times, last 4 weeks ago
32 more registered users
63 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.UnsatisfiedLinkError

    /Library/staf/lib/libJSTAFSH.jnilib:  no suitable image found.  Did find:  /Library/staf/lib/libJSTAFSH.jnilib: mach-o, but wrong architecture  /Library/staf/lib/libJSTAFSH.jnilib: mach-o, but wrong architecture

    at java.lang.ClassLoader$NativeLibrary.load()
  2. Java RT
    System.loadLibrary
    1. java.lang.ClassLoader$NativeLibrary.load(Native Method)
    2. java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1878)
    3. java.lang.ClassLoader.loadLibrary(ClassLoader.java:1795)
    4. java.lang.Runtime.loadLibrary0(Runtime.java:823)
    5. java.lang.System.loadLibrary(System.java:1045)
    5 frames
  3. com.ibm.staf
    STAFServiceHelper.<clinit>
    1. com.ibm.staf.service.STAFServiceHelper.<clinit>(STAFServiceHelper.java:443)
    1 frame