← Back to team overview

sikuli-driver team mailing list archive

[Bug 1731412] Re: [1.1.2+] should work on Java 9

 

$ java -jar sikulixsetup-1.1.1.jar
[error] RunTimeINIT:  *** terminating: Java version must be 1.7 or later!
$ java -version
java version "9"
Java(TM) SE Runtime Environment (build 9+181)
Java HotSpot(TM) 64-Bit Server VM (build 9+181, mixed mode)

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1731412

Title:
  [1.1.2+] should work on Java 9

Status in Sikuli:
  Fix Committed

Bug description:
  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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1731412/+subscriptions


References