← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #701193]: Error with runnable fat jar outside of IDE

 

Question #701193 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/701193

RaiMan proposed the following answer:
put the following at the top of your main class:

static { new Finder(new Screen().capture(0, 0, 1, 1)); }

Looks a bit odd, but it takes care, that the <appdata>\Sikulix folder is
created and the OpenCV  DLL is exported and loaded, before any SikuliX
features are touched.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.