java.lang.UnsatisfiedLinkError: C:\Users\David\AppData\Local\Temp\jna1141547134255314607.dll: Access is denied


Samebug tips

When installing an APK, it automatically extracts the libraries of the right arch type and has them available for System.loadLibrary. But, if you're trying to load a non-standard library, the installer won't know your app has 32bit native code.


7 months ago
Expert tip

Solutions on the web

Solution icon of googlegroups
via Google Groups by David Lin, 9 months ago
C:\Users\David\AppData\Local\Temp\jna1141547134255314607.dll: Access is denied

Solution icon of googlegroups
via Google Groups by Nepherius, 9 months ago
C:\Users\Neph\AppData\Local\Temp\jna7271512837191144322.dll: Access is denied

Solution icon of github
via GitHub by foong
, 11 months ago
C:\Users\FOONG\AppData\Local\Temp\jna-FOONG\jna9100761614979794647.dll: Access is denied

Solution icon of github
C:\Users\tbarik\AppData\Local\Temp\jna578491634502575673.dll: Access is denied

Solution icon of stackoverflow
C:\Users\Santhosh\AppData\Local\Temp\jline_0_12_2.dll: Access is denied

Solution icon of googlegroups
via Google Groups by Charles Smith, 3 months ago
C:\Users\NMR-Tiger\AppData\Local\Temp\jna--1360109371\jna8976287336737292997.dll: Access is denied

Solution icon of github
via GitHub by foong
, 11 months ago
C:\Users\FOONG\AppData\Local\Temp\jna-FOONG\jna9100761614979794647.dll: Access is denied

Solution icon of github
C:\Users\USER\AppData\Local\Temp\libgdxUSER\52d76f2b\lwjgl.dl l: Access is denied

Solution icon of web
via mathworks.com by Unknown author, 1 year ago
C:\Users\Dan Haught\AppData\Local\Temp\jogamp_0000\file_cache\jln6444330418792983093\jln5967843386732867207\gluegen-rt.dll: Access is denied

Solution icon of web
via mathworks.com by Unknown author, 1 year ago
C:\Users\Dan Haught\AppData\Local\Temp\jogamp_0000\file_cache\jln6444330418792983093\jln5967843386732867207\gluegen-rt.dll: Access is denied

Stack trace

java.lang.UnsatisfiedLinkError: C:\Users\David\AppData\Local\Temp\jna1141547134255314607.dll: Access is 
 denied
	at java.lang.ClassLoader$NativeLibrary.load(Native Method)
	at java.lang.ClassLoader.loadLibrary1(Unknown Source)
	at java.lang.ClassLoader.loadLibrary0(Unknown Source)
	at java.lang.ClassLoader.loadLibrary(Unknown Source)
	at java.lang.Runtime.load0(Unknown Source)
	at java.lang.System.load(Unknown Source)
	at com.sun.jna.Native.loadNativeLibraryFromJar(Native.java:775)
	at com.sun.jna.Native.loadNativeLibrary(Native.java:699)
	at com.sun.jna.Native.<clinit>(Native.java:114)
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Unknown Source)
	at hu.belicza.andras.sc2gears.Sc2gears.main(Sc2gears.java:116)

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

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Once, 3 months ago
Samebug visitor profile picture
Unknown user
Once, 10 months ago
83 more bugmates