UnsatisfiedLinkError while run from java - no write access to Windows folder

Asked by Andrzej Wiech

I know this issues is old one and I follow the adviced steps to solve this. By main seems to be a bit different. I get error that folder c:\windows\tmplib could not be created. This is on company PC, and we are very restricted. Is there a workaround to this problem? Why is Sikuli trying to copy native files to Windows folder? Will be gratefull to get any help.

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
Andrzej Wiech
Solved:
Last query:
Last reply:
Revision history for this message
RaiMan (raimund-hocke) said :
#1

try this:
set environment variable
SIKULI_HOME

to the directory, that contains the Sikuli libs folder (hoping this is writeable)

Take care for the mandatory trailing backslash.

e.g. in command environment
set SIKULI_HOME=C:\Program Files\Sikuli X\

another option is to preset Java's property java.temp.library with a writeable folder.

Revision history for this message
Andrzej Wiech (andrjus-w) said :
#2

Hi RaiMan

Thanks for that. Indeed I was missing trailing backslash. However the root cause turned out to be missing jawt.dll in company jre. I added it ti libs folder of sikuli and everything works. Thanks