[1.1.1] macOS 10.13.2: SikuliX app not running --- must be Java 7 or 8

Asked by Jonathan Beacon on 2018-01-03

Trying to run SikuliX 1.1.1 on Mac OSX 10.13.2 High Sierra.
I installed jre-8u151-macosx-x64.dmg
When double clicking on SikuliX icon in Applications folder nothing happens.

On right click, show package contents, run: the following results:

Last login: Tue Jan 2 23:30:46 on ttys000
/Applications/SikuliX.app/run ; exit;
Jonathans-MacBook-Pro:~ cartur25$ /Applications/SikuliX.app/run ; exit;
running SikuliX: /Applications/SikuliX.app/Contents/Java/sikulix.jar
Exception in thread "main" java.lang.UnsupportedClassVersionError: org/sikuli/ide/Sikulix : Unsupported major.minor version 51.0
 at java.lang.ClassLoader.defineClass1(Native Method)
 at java.lang.ClassLoader.defineClassCond(ClassLoader.java:637)
 at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
 at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
 at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
 at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
 at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
 at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.
Deleting expired sessions...7 completed.

[Process completed]

Very excited to get started with Sikuli, any help is very appreciated!

Question information

Language:
English Edit question
Status:
Solved
For:
Sikuli Edit question
Assignee:
No assignee Edit question
Solved by:
Jonathan Beacon
Solved:
2018-01-03
Last query:
2018-01-03
Last reply:
2018-01-03
RaiMan (raimund-hocke) said : #1

check your SikuliX installation.

In doubt purge everything and start again:
http://www.sikulix.com/quickstart/

I am writing this answer sitting in front of an iMac running macOS 10.13.2 with Java 8 ;-)

Jonathan Beacon (cartur25) said : #2

Greetings, I followed the quickstart instructions, also followed the link to download Java 8 (jre-8u151-macosx-x64.dmg).
I reinstalled Sikuli into Home\Sikuli
Double clicking Sikuli does nothing

If I click runsikuli it gives me the following error:

Exception in thread "main" java.lang.UnsupportedClassVersionError: org/sikuli/ide/Sikulix : Unsupported major.minor version 51.0

java -version in terminal results:

java version "1.6.0_65"
Java(TM) SE Runtime Environment (build 1.6.0_65-b14-468)
Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-468, mixed mode)

RaiMan (raimund-hocke) said : #4

you either need a Java version 7 or 8 and the JRE is sufficient,