struck at screen starting on java11

Asked by Prabhas Koya on 2020-08-18

i was using sikuli and sudddenly one day i opened and it struck at Sikulix-IDE 2.0.4 is starting on Java 11
i have used the sikuli ,created scripts automated things but suddenly it struck
what to do, How to fix it ?
can anyone give brief explanation?

Question information

Language:
English Edit question
Status:
Solved
For:
Sikuli Edit question
Assignee:
No assignee Edit question
Solved by:
Prabhas Koya
Solved:
2020-08-20
Last query:
2020-08-20
Last reply:
Prabhas Koya (prabhas1) said : #1

java -jar sikulixide-2.0.4.jar -v -c
output:

[DEBUG]startUp: IDE: Running: /home/bodhi/sikulixide-2.0.4.jar
[DEBUG]startUp: IDE: AppData: /home/bodhi/.Sikulix
[DEBUG]startUp: IDE: starting with classpath: sikulixide-2.0.4.jar ...
[DEBUG]startUp: IDE: no extensions.txt nor valid content
[DEBUG]startUp: IDE: adding extension file: /home/bodhi/.Sikulix/Extensions/jython-standalone-2.7.1.jar
[1560 debug] Options: loadOptions: Options file: /home/bodhi/.Sikulix/SikulixStore/SikulixOptions.txt
[1620 debug] RunTime:temp folder ok: /tmp/Sikulix_154960679
Options: *** options dump
Options: testing =
Options: OptionsFile = /home/bodhi/.Sikulix/SikulixStore/SikulixOptions.txt
Options: *** options dump end
***** show environment for 2.0.4-2020-03-14_08:01 API
user.home: /home/bodhi
user.dir (work dir): /home/bodhi
user.name: bodhi
java.io.tmpdir: /tmp
running 64Bit(amd64) on l (4.15.0-88-generic) from a jar
java 11 version 11 vm 11.0.8+10-post-Ubuntu-0ubuntu118.04.1 class 55.0 arch 64
app data folder: /home/bodhi/.Sikulix
executing jar: /home/bodhi/sikulixide-2.0.4.jar
*** classpath dump sikulix
  0: sikulixide-2.0.4.jar
*** classpath dump end
***** show environment end
[DEBUG]startUp: IDE: *********************** leaving start
[224 debug] Sikulix: starting IDE
[339 debug] Options: loadOptions: Options file: /home/bodhi/.Sikulix/SikulixStore/SikulixOptions.txt
[457 debug] RunTime:temp folder ok: /tmp/Sikulix_63812184
Options: *** options dump
Options: testing =
Options: OptionsFile = /home/bodhi/.Sikulix/SikulixStore/SikulixOptions.txt
Options: *** options dump end
***** show environment for 2.0.4-2020-03-14_08:01 IDE
user.home: /home/bodhi
user.dir (work dir): /home/bodhi
user.name: bodhi
java.io.tmpdir: /tmp
running 64Bit(amd64) on l (4.15.0-88-generic) from a jar
java 11 version 11 vm 11.0.8+10-post-Ubuntu-0ubuntu118.04.1 class 55.0 arch 64
app data folder: /home/bodhi/.Sikulix
executing jar: /home/bodhi/sikulixide-2.0.4.jar
*** classpath dump sikulix
  0: /home/bodhi/sikulixide-2.0.4.jar
  1: /home/bodhi/.Sikulix/Extensions/jython-standalone-2.7.1.jar
  2: sikulixide-2.0.4.jar
*** classpath dump end
***** show environment end
[1659 debug] IDE: running with Locale: en_US
[DEBUG]startUp: IDE: --- Sikuli parameters ---
[DEBUG]startUp: IDE: 1: -v
[DEBUG]startUp: IDE: 2: -c
[1748 debug] RunTime:loadlib: trying JXGrabKey
[1759 debug] RunTime:libsExport: folder exists: /home/bodhi/.Sikulix/SikulixLibs (2.0.4 - 202003140801)
[1768 debug] RunTime:loadLib: libJXGrabKey.so (success)
[1780 debug] HotkeyManager: add Capture Hotkey: CTRL+SHIFT 2 (50, 3)
[1825 debug] HotkeyManager: add Abort Hotkey: ALT+SHIFT C (67, 9)
[1829 debug] IDE: Init ScriptingSupport
[1867 debug] IDESupport: enter
[6170 debug] Runner: added: PackedSikulix [zip] application/zip
[6180 debug] Runner: added: NetworkRunner [] NET
[6184 debug] Runner: added: PackedSikulix [skl] text/skl
[8459 debug] Runner: added: JavaScript [js] text/javascript
[8461 debug] Runner: init: class org.sikuli.script.runners.AbstractLocalFileScriptRunner: warning: not possible
[8464 debug] Runner: added: Sikulix [] directory/sikulix
[8476 debug] Runner: added: SikulixJar [jar] text/jar
[8482 debug] Runner: added: Text [txt] text/text
[8542 debug] Runner: added: Jython [py] text/jython
[8546 debug] IDESupport: added: Jython
[8553 debug] IDESupport: added: JavaScript
[8556 debug] IDESupport: added: Text
[8564 debug] IDESupport: exit: defaultrunner: Jython (py)
[8614 debug] IDE: Reading Preferences
[8617 debug] IDE: Adding components to window
[8739 debug] IDE: [I18N] menuRecent
[8966 debug] IDE: [I18N] menuToolAndroid
[8999 debug] IDE: creating tabbed editor
[9516 debug] IDE: creating message area
[9939 debug] IDE: creating combined work window
[9964 debug] IDE: Putting all together
[9967 debug] IDE: Putting all together - after main pane
[10157 debug] IDE: Putting all together - after toolbar
[10173 debug] IDE: Putting all together - before layout
[10520 debug] IDE: Putting all together - after layout
[10525 debug] IDE: Putting all together - Restore last Session
[10527 debug] IDE: Restore scripts from last session
[10528 debug] IDE: Restore Sikuli script: /home/bodhi/r.sikuli
[10613 debug] EditorPane: created 1597755711753
[10703 debug] EditorPane: loadfile: /home/bodhi/r.sikuli
[10721 debug] JythonRunner: starting initialization
[10747 debug] RunTime:resourceLocation: (class org.sikuli.script.support.RunTime) /Lib/sikuli
[10755 debug] RunTime:resourceList: having jar: jar:file:/home/bodhi/sikulixide-2.0.4.jar!/Lib/sikuli
[10978 debug] EditorPane: InitTab: (text/jython)
[10984 debug] SikuliEditorKit.read
[11046 debug] ImagePath: new BundlePath: /home/bodhi/r.sikuli
[11047 debug] EditorPane: setFiles: for: /home/bodhi/r.sikuli
[15872 debug] RunTime:files exported: 7 from: Lib/sikuli to:
 /home/bodhi/.Sikulix/Lib/sikuli
[37486 debug] Jython: added as Jython::sys.path[0]:
/home/bodhi/.Sikulix/Lib/site-packages
[37493 debug] Jython: found Lib/site-packages/sites.txt
[37496 debug] Jython: ***** sys.path
 0: /home/bodhi/r.sikuli
 1: /home/bodhi/.Sikulix/Lib/site-packages
 2: /home/bodhi/.Sikulix/Lib
 3: /home/bodhi/.Sikulix/Extensions/Lib
 4: /home/bodhi/.Sikulix/Extensions/jython-standalone-2.7.1.jar/Lib
[37661 debug] JythonRunner: ready: version 2.7.1

Prabhas Koya (prabhas1) said : #2

https://answers.launchpad.net/sikuli/+question/691091 this is similar to mine but i am on a dual boot and mine is bodhi linux and my java is 11 .i tried to install java 14 and run but same it strucks

Prabhas Koya (prabhas1) said : #3

For future readers here in https://answers.launchpad.net/sikuli/+question/691091 and mine same problem so if any one have this problem better way is to check for jdk update and go for new install of it and try restarting the ide on new version ,you wil get if not then.
I did the same but it did not solve for me what i did is after installing , removed the .sikuli folder so that there would be no jython for ide then the ide ran and i closed it and again restored the jython from .sikuli to here so that it would take it over . if this too fails try reinstalling jar and check updates go for updated version , try removing .sikuli for any improvements and in this way you can solve your problem...!!

Prabhas Koya (prabhas1) said : #4

First try these before installing jdk and if its success ok or else try going for newer versions at your time and try.hope it helps