JNativeHook_.dll: Access is denied
Closed this issue · 2 comments
GoogleCodeExporter commented
What steps will reproduce the problem?
1. Some of the users in my computer had this problem
2. The program run its start up but when it comes to the loadLibrary1
3. The program will not continue
What is the expected output? What do you see instead?
Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError:
C:\Users\user11\AppData\Local\Temp\JNativeHook_1671013456734063766.dll: Access
is denied
What version of the product are you using? On what operating system?
NetBeans IDE 7.3
Please provide any additional information below.
Original issue reported on code.google.com by kelvz...@gmail.com
on 27 May 2013 at 8:00
GoogleCodeExporter commented
Why does you user not have write access to its temp folder? Seems like a group
policy issue, however there are several workarounds. For the time being you
may extract the appropriate native dll from the jar to a location that your
user has access to write to and set the "java.library.path" to point to that
location. Ex: `java -Djava.library.path=C:\Users\user11\Desktop -jar
JNativeHook.jar` would search for the correct DLL on the desktop. I will add a
property to override the extraction location in the next revision.
Original comment by a...@1stleg.com
on 17 Jun 2013 at 4:41
- Changed state: Accepted
- Added labels: Priority-Low, Type-Enhancement
- Removed labels: Priority-Medium, Type-Defect
GoogleCodeExporter commented
This has been fixed in the trunk. You may now use jnativehook.tmpdir to
specify an output location for extraction.
Original comment by a...@1stleg.com
on 21 Mar 2014 at 10:57
- Changed state: Fixed