Unable to install sikuli on Mac OS 10.13.2 with java 9 --- workaround

Asked by pradgnya on 2018-02-01

----- workaround -------------------
you might try with 1.1.2 nightly (experimental fixes for Java 9, no guarantee)

as mentioned on the download page for 1.1.1
https://launchpad.net/sikuli/sikulix/1.1.1

Java 9 not supported.

The best is to use Java 8 for SikuliX.

Remove Java 9 if you do not really need it.

If you need Java 9 for other things, run the SikuliX stuff from a Terminal, after having said:
export JAVA_HOME=`/usr/libexex/java_home -v 1.8`

--------------------------------------------------------------------------

Unable to setup Sikuli

Mac OS 10.13.2
sikulixsetup-1.1.1.jar

$ java -jar sikulixsetup-1.1.1.jar

[error] RunTimeINIT: *** terminating: Java version must be 1.7 or later!

$ java --version
java 9.0.1
Java(TM) SE Runtime Environment (build 9.0.1+11)
Java HotSpot(TM) 64-Bit Server VM (build 9.0.1+11, mixed mode)

Question information

Language:
English Edit question
Status:
Answered
For:
Sikuli Edit question
Assignee:
No assignee Edit question
Last query:
2018-02-01
Last reply:
2018-02-01
RaiMan (raimund-hocke) said : #1

you might try with 1.1.2 nightly (experimental fixes for Java 9, no guarantee)

as mentioned on the download page for 1.1.1
https://launchpad.net/sikuli/sikulix/1.1.1

Java 9 not supported.

The best is to use Java 8 for SikuliX.

Remove Java 9 if you do not really need it.

If you need Java 9 for other things, run the SikuliX stuff from a Terminal, after having said:
export JAVA_HOME=`/usr/libexex/java_home -v 1.8`

Can you help with this problem?

Provide an answer of your own, or ask pradgnya for more information if necessary.

To post a message you must log in.