← Back to team overview

sikuli-driver team mailing list archive

[Question #658718]: Installing under OSX 10.12.6 - Not recognising JDK 9

 

New question #658718 on Sikuli:
https://answers.launchpad.net/sikuli/+question/658718

Hi,

I am trying to get Sikuli running under OSX 10.12.6 and having issues installing.
I got and installed the JDK from oracle (jdk-9_osx-x64_bin)
I then grabbed the 1.1.1 setup jar file (and also tried the nightly sikulixsetup-1.1.2-20170915.082449-36-forsetup version)

Checking java (java --verison) returns:
java 9
Java(TM) SE Runtime Environment (build 9+181)
Java HotSpot(TM) 64-Bit Server VM (build 9+181, mixed mode)

Double clicking on the jar file (after setting executable flag with chmod +x) does nothing.

Running from the terminal with:
java -jar ./sikulixsetup-1.1.1.jar 

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

Any ideas as to what I'm doing wrong?
I had read that I should try with java 7, but that seems not to be accessable unless you are an Oracle customer. That aside, I assume it's best to use the latest and most secure version of Java anyway.

I've been using Sikuli under Windows for a while now, and it's been very useful, but I now need to transfer what I've done to OSX but this has kind of stopped me in my tracks!

Best Regards,
   Simon C. Smith.

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