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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert tip

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.

,

This is a sub-class of the LinkageError class and indicates that the JVM cannot find an appropriate native-language definition of a method declared as native. Install the CDF Software Distribution on your system.

Solutions on the web

via staf by braddillman
, 1 year ago
C:\STAF\bin\JSTAFSH.dll: %1 is not a valid Win32 application
via Stack Overflow by suryakrish
, 2 years ago
D:\JNI examples\cfiles\hello.dll: %1 is not a valid Win32 application
via Stack Overflow by neruad
, 2 years ago
C:\Program Files\MATLAB\R2011b\bin\win32\nativeservices.dll: The specified procedure could not be found
via Oracle Community by 843829, 1 year ago
via Stack Overflow by Sriprem rookie
, 2 years ago
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
via Stack Overflow by Sarra
, 2 years ago
C:\Tomcat7\apache-tomcat-7.0.50\bin\tcnative-1.dll: Can't load AMD 64-bit .dll on a IA 32-bit platform
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)

Users with the same issue

Once, 3 weeks ago
Once, 5 months ago
Once, 11 months ago
14 times, 1 year ago
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.