-
Notifications
You must be signed in to change notification settings - Fork 355
GettingStarted on macOS
This information is for SikuliX versions 2.0.0 and later
It was created and validated on/after October 19th 2019
on macOS Catalina Version 10.15
... but should work on other macOS 64-Bit systems also.
You need a valid Java 64-Bit installation (recommended Java 13), but it must be at least Java 8.
We recommend to use OpenJDK, which is the new base for usages in private or non commercial environments.
But any Oracle JRE/JDK 8+ should work also.
Make this test in a Terminal: java -version
which should show something like:
openjdk version "13.0.1" 2019-10-15
OpenJDK Runtime Environment (build 13.0.1+9)
OpenJDK 64-Bit Server VM (build 13.0.1+9, mixed mode, sharing)
If it does not work, follow these steps, to make a Java OpenJDK ready on your system:
- download the package macOS / x64 tar.gz from
jdk.java.net
- unzip/untar (right click and open with standard app)
- you get a folder like
jdk-13.0.1.jdk
- move this folder to the system folder
/Library/Java/JavaVirtualMachines
- the above test should now work
... or use any other workflow, that leads to a valid Java 8+ installation and lets you successfully run java -version
.
Step 2: Support for image search (OpenCV)
The OpenCV native libraries are needed for SikuliX's image search and other features.
Up to SikuliX version 2.0.x:
there is nothing to do for you, since the libraries (OpenCV version 3.4.2) are bundled with SikuliX and exported automatically for usage at runtime.
For SikuliX version 2.1.x and higher:
you have to create a valid OpenCV installation before you can use SikuliX with all its features.
If this is not done before the first use of SikuliX, in case it will terminate abnormally and present information, what has to be done.
If you want to use these features, you have to make the Tesseract libraries ready.