You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello all!
First of all, thanks in advance for any help provided!
I've started learning coding not a long while ago, but I always try a lot before seeking help other than google...
Today, I came across this: I have made a really simple tool to communicate with arduino, and in my PC it works flawlessly!
However in a friend's PC, it is not working...
He stated that he coudn't even load it...
Once I asked him to run "java -jar" in the file directory, we came across this:
`C:\Users\User\Desktop\Editor>java -jar user.jar
Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: C:\Users
**User\AppData\Local\Temp\1538133067545-jSerialComm.dll: Accesso negato
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
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.fazecast.jSerialComm.SerialPort.(SerialPort.java:181)
at editor.interface1.(interface1.java:33)
at editor.interface1$1.run(interface1.java:236)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$500(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionP
rivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
C:\Users\User\Desktop\Editor>`
Then I thought it could be related to privilege issues.
But I have run the program successfuly in a non-admin account...
I have searched on the internet and there is an info saying that some times windows will simply deny some permissions. While that's totally understandable , since windows messes a lot with this kind of stuff, I did not find any workaround for this issue, unfortunately.
We both use windows 7 professional, 64bits, if that's relevant.
I hope I have put all the needed info!
Thanks for your attention
cheers!
The text was updated successfully, but these errors were encountered:
Please try again with the latest version of the library (lots of Windows updates) and let me know whether it works for you. If not, please verify that C:\Users\User\AppData\Local\Temp\xxxx-jSerialComm.dll file actually exists when trying to run the program. If not, then there is some problem with the library unpacking the native Windows DLL to your temporary directory.
Hello all!
First of all, thanks in advance for any help provided!
I've started learning coding not a long while ago, but I always try a lot before seeking help other than google...
Today, I came across this: I have made a really simple tool to communicate with arduino, and in my PC it works flawlessly!
However in a friend's PC, it is not working...
He stated that he coudn't even load it...
Once I asked him to run "java -jar" in the file directory, we came across this:
`C:\Users\User\Desktop\Editor>java -jar user.jar
Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: C:\Users
**User\AppData\Local\Temp\1538133067545-jSerialComm.dll: Accesso negato
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
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.fazecast.jSerialComm.SerialPort.(SerialPort.java:181)
at editor.interface1.(interface1.java:33)
at editor.interface1$1.run(interface1.java:236)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$500(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionP
rivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
C:\Users\User\Desktop\Editor>`
Then I thought it could be related to privilege issues.
But I have run the program successfuly in a non-admin account...
I have searched on the internet and there is an info saying that some times windows will simply deny some permissions. While that's totally understandable , since windows messes a lot with this kind of stuff, I did not find any workaround for this issue, unfortunately.
We both use windows 7 professional, 64bits, if that's relevant.
I hope I have put all the needed info!
Thanks for your attention
cheers!
The text was updated successfully, but these errors were encountered: