Closed ewalti closed 6 years ago
Apparently it was due to the Java version 9. I installed jre-8u152
and switched my Java version by doing the following:
$ /usr/libexec/java_home -V
which lists all the installed JVMS:
Matching Java Virtual Machines (2):
9.0.1, x86_64: "Java SE 9.0.1" /Library/Java/JavaVirtualMachines/jdk-9.0.1.jdk/Contents/Home
1.8.0_152, x86_64: "Java SE 8" /Library/Java/JavaVirtualMachines/jdk1.8.0_152.jdk/Contents/Home
and I changed my JAVA_HOME
to match that of 1.8.0_152
export JAVA_HOME=`/usr/libexec/java_home -v 1.8.0_152`
Now java -version
shows:
java version "1.8.0_152"
Java(TM) SE Runtime Environment (build 1.8.0_152-b16)
Java HotSpot(TM) 64-Bit Server VM (build 25.152-b16, mixed mode)
and the installer works
From a fresh install of SikuliX 1.1.1, Java Version 8 Update 151, on OSX 10.12.5, attempting to
java -jar sikulixsetup-1.1.1.jar
results in:according to
java -version
:Is there a different version of Java I should rollback to to get this to run?