Mac OS 10.14.6 Sikuli 2.0.4 does not start --- does not work on Java 15 --- use Java 11

Asked by Pippi Anne Leggins on 2021-02-01

Moin!
terminal output:
java -jar Sikulix/sikulix.jar -v -c
[DEBUG]startUp: IDE: Running: /Applications/Sikulix/sikulix.jar
[DEBUG]startUp: IDE: AppData: /Users/pippilotta/Library/Application Support/Sikulix
[DEBUG]startUp: IDE: starting with classpath: Sikulix/sikulix.jar ...
[DEBUG]startUp: IDE: no extensions.txt nor valid content
[DEBUG]startUp: IDE: adding extension file: /Users/pippilotta/Library/Application Support/Sikulix/Extensions/jython-standalone-2.7.1.jar
[315 debug] RunTime:temp folder ok: /var/folders/hz/ygxz1j7n699dd3ptxzrhzfxc0000gn/T/Sikulix_1877970788
Options: *** options dump
Options: testing =
Options: OptionsFile = /Users/pippilotta/Library/Application Support/Sikulix/SikulixStore/SikulixOptions.txt
Options: *** options dump end
***** show environment for 2.0.4-2020-03-14_08:01 API
user.home: /Users/pippilotta
user.dir (work dir): /Applications
user.name: pippilotta
java.io.tmpdir: /var/folders/hz/ygxz1j7n699dd3ptxzrhzfxc0000gn/T
running 64Bit(x86_64) on m (10.14.6) from a jar
java 15 version 15 vm 15.0.2+7-27 class 59.0 arch 64
app data folder: /Users/pippilotta/Library/Application Support/Sikulix
executing jar: /Applications/Sikulix/sikulix.jar
*** classpath dump sikulix
  0: Sikulix/sikulix.jar
*** classpath dump end
***** show environment end
[DEBUG]startUp: IDE: *********************** leaving start
[45 debug] Sikulix: starting IDE
[132 debug] RunTime:temp folder ok: /var/folders/hz/ygxz1j7n699dd3ptxzrhzfxc0000gn/T/Sikulix_1162961476
Options: *** options dump
Options: testing =
Options: OptionsFile = /Users/pippilotta/Library/Application Support/Sikulix/SikulixStore/SikulixOptions.txt
Options: *** options dump end
***** show environment for 2.0.4-2020-03-14_08:01 IDE
user.home: /Users/pippilotta
user.dir (work dir): /Applications
user.name: pippilotta
java.io.tmpdir: /var/folders/hz/ygxz1j7n699dd3ptxzrhzfxc0000gn/T
running 64Bit(x86_64) on m (10.14.6) from a jar
java 15 version 15 vm 15.0.2+7-27 class 59.0 arch 64
app data folder: /Users/pippilotta/Library/Application Support/Sikulix
executing jar: /Applications/Sikulix/sikulix.jar
*** classpath dump sikulix
  0: /Applications/Sikulix/sikulix.jar
  1: /Users/pippilotta/Library/Application Support/Sikulix/Extensions/jython-standalone-2.7.1.jar
  2: Sikulix/sikulix.jar
*** classpath dump end
***** show environment end
[275 debug] IDE: running with Locale: de_DE
[DEBUG]startUp: IDE: --- Sikuli parameters ---
[DEBUG]startUp: IDE: 1: -v
[DEBUG]startUp: IDE: 2: -c
[285 debug] HotkeyManager: add Capture Hotkey: ⌘+⇧ 2 (50, 5)
[368 debug] HotkeyManager: add Abort Hotkey: ⌘+⇧ C (67, 5)
[376 debug] IDE: Init ScriptingSupport
[379 debug] IDESupport: enter
[1251 debug] Runner: init: class org.sikuli.script.runners.AbstractLocalFileScriptRunner: warning: not possible
[1270 debug] Runner: added: Jython [py] text/jython
[1271 debug] Runner: added: PackedSikulix [zip] application/zip
[1272 debug] Runner: added: PackedSikulix [skl] text/skl
[1272 debug] Runner: added: Text [txt] text/text
[1273 debug] Runner: added: SikulixJar [jar] text/jar
[1274 debug] Runner: added: NetworkRunner [] NET
[1274 debug] Runner: added: Sikulix [] directory/sikulix

after breakup:
^C[133152 debug] RunTime:***** final cleanup at System.exit() *****
[132401 debug] RunTime:***** final cleanup at System.exit() *****
[132407 debug] HotkeyManager: reset: removed all SikuliX hotkeys.
[132407 debug] HotkeyController: stopping hotkey provider
[132411 debug] FileManager: deleteFileOrFolder:
/var/folders/hz/ygxz1j7n699dd3ptxzrhzfxc0000gn/T/Sikulix_1162961476
Exception in thread "Thread-0" java.lang.IllegalStateException: Shutdown in progress
 at java.base/java.lang.ApplicationShutdownHooks.add(ApplicationShutdownHooks.java:66)
 at java.base/java.lang.Runtime.addShutdownHook(Runtime.java:215)
 at java.prefs/java.util.prefs.MacOSXPreferencesFile.timer(MacOSXPreferencesFile.java:357)
 at java.prefs/java.util.prefs.MacOSXPreferencesFile.markChanged(MacOSXPreferencesFile.java:291)
 at java.prefs/java.util.prefs.MacOSXPreferencesFile.addNode(MacOSXPreferencesFile.java:367)
 at java.prefs/java.util.prefs.MacOSXPreferences.<init>(MacOSXPreferences.java:115)
 at java.prefs/java.util.prefs.MacOSXPreferences.<init>(MacOSXPreferences.java:86)
 at java.prefs/java.util.prefs.MacOSXPreferences.getUserRoot(MacOSXPreferences.java:59)
 at java.prefs/java.util.prefs.MacOSXPreferencesFactory.userRoot(MacOSXPreferencesFactory.java:31)
 at java.prefs/java.util.prefs.Preferences.userRoot(Preferences.java:457)
 at java.prefs/java.util.prefs.Preferences.userNodeForPackage(Preferences.java:371)
 at org.sikuli.basics.PreferencesUser.<init>(PreferencesUser.java:53)
 at org.sikuli.basics.PreferencesUser.get(PreferencesUser.java:57)
 at org.sikuli.script.support.RunTime.cleanUp(RunTime.java:1350)
 at org.sikuli.script.support.RunTime.runShutdownHook(RunTime.java:1364)
 at org.sikuli.script.support.RunTime.access$000(RunTime.java:42)
 at org.sikuli.script.support.RunTime$3.run(RunTime.java:1056)

Start sikulix from finder, only brings the window "SikuliX-IDE 2.0.4 is starting on Java 15".
Also, there was no Question/info for security settings.
Any advice...?

Thx

Question information

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

use Java 11

Thx Raimund.

Thanks RaiMan, that solved my question.