java.lang.UnsatisfiedLinkError: C:\STAF\bin\JSTAFSH.dll: %1 is not a valid Win32 application


Samebug tips

This happens sometimes when Android fails to load the necessary libraries when you install an app. Try reinstalling it or telling your client to reinstall it, as it seems to correctly install the libraries and fixes the problem.


9 months ago
Expert tip

Solutions on the web

Solution icon of sourceforge
C:\STAF\bin\JSTAFSH.dll: %1 is not a valid Win32 application

Solution icon of stackoverflow
via Stack Overflow by suryakrish
, 1 year ago
D:\JNI examples\cfiles\hello.dll: %1 is not a valid Win32 application

Solution icon of stackoverflow
C:\Program Files\MATLAB\R2011b\bin\win32\nativeservices.dll: The specified procedure could not be found

Solution icon of oraclecommunity
C:\AT\bin\NasNdsJNI.dll: Access is denied

Solution icon of stackoverflow
C:\lms_server\apache-tomcat-7.0.37\bin\tcnative-1.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform

Solution icon of stackoverflow
C:\Tomcat7\apache-tomcat-7.0.50\bin\tcnative-1.dll: Can't load AMD 64-bit .dll on a IA 32-bit platform

Solution icon of stackoverflow
via Stack Overflow by user46759
, 1 year ago
C:\Program Files\Java\jdk1.8.0_20\bin\jri.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform

Solution icon of web
C:\temp\sapjco-install-path\sapjco3.dll: This ap plication has failed to start because the application configuration is incorrect . Reinstalling the application may fix this problem

Solution icon of sourceforge
/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

Solution icon of oraclecommunity
via Oracle Community by 843859, 10 months ago
C:\Oracle\product\10.1.0\Db__1\BIN\ocijdbc10.dll

Stack trace

java.lang.UnsatisfiedLinkError: C:\STAF\bin\JSTAFSH.dll: %1
is not a valid Win32 application
	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:822)
	at java.lang.System.loadLibrary(System.java:992)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

6 times, 5 days ago
Once, 3 weeks ago
Samebug visitor profile picture
Unknown user
Once, 1 month ago
Once, 1 month ago
Samebug visitor profile picture
Unknown user
Once, 2 months ago
303 more bugmates