Sikulix.jar is not starting
I just downloaded SikuliX 1.1.4 on my Computer (64bit).
When I try to start the Jar by double click or via CMD the window "SikuliX-IDE is starting" pops up, but that's it. The Sikulix Application is never shown, even not after 15min.
There is no error shown.
my Computer:
Windows 10 64 bit
Java Version 1.8.0_171
Sikulix 1.1.3 did work
I downloaded
Jython interpreter 2.7.1 for python scripting (the default)
later
JRuby interpreter 9.x for ruby Scripting
as well
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Petra Horner
- Solved:
- Last query:
- Last reply:
Revision history for this message
|
#2 |
use in a command line:
java -jar <path-to-
and look into the debug info what might be the problem.
If you do not see anything, then post the log here.
Revision history for this message
|
#3 |
PS C:\SikuliX\1_4> java -jar C:/SikuliX/
[DEBUG] IDE: starting
[DEBUG] IDE: no extensions.txt nor valid content
[DEBUG] IDE: moving to extensions: C:\SikuliX\
[DEBUG] IDE: adding extension: C:\Users\
[DEBUG] IDE: Running: C:\SikuliX\
[DEBUG] IDE: AppData: C:\Users\
[DEBUG] IDE: Classpath: C:\SikuliX\
[DEBUG] IDE: no extensions.txt nor valid content
[93 debug] init user preferences
[95 debug] IDE: running with Locale: de_AT
[DEBUG] IDE: --- Sikuli parameters ---
[DEBUG] IDE: 1: -v
[101 debug] HotkeyManager: add Capture Hotkey: STRG+UMSCHALT 2 (50, 3)
[486 debug] HotkeyManager: add Abort Hotkey: ALT+UMSCHALT C (67, 9)
[486 debug] IDE: Init ScriptingSupport
[489 debug] IDESupport: enter
[1566 debug] Runner: added: PowerShell [ps1] text/powershell
[1567 debug] Runner: added: Text [txt] text/text
[1567 debug] Runner: added: Sikulix [sikuli, skl, jar] directory/sikulix
[1576 debug] Runner: added: Jython [py, $py.class] text/jython
[1806 debug] Runner: added: JavaScript [js] text/javascript
[1807 debug] IDESupport: added: Jython
[1807 debug] IDESupport: added: JavaScript
[1807 debug] IDESupport: added: Text
[1807 debug] IDESupport: exit: defaultrunner: Jython (py)
[1809 debug] IDE: Reading Preferences
[1815 debug] Screen: initScreens: starting
[1816 debug] Screen: Accessing: GraphicsEnviron
[1816 debug] Screen: Accessing: GraphicsEnviron
[1816 debug] Screen: ScreenDevice 0 has (0,0) --- will be primary Screen(0)
[1817 debug] Screen: Monitor 0: (0, 0) 1920 x 1080
[1817 debug] Screen: Monitor 1: (-1920, 0) 1920 x 1080
[1819 debug] Mouse: init start
[2324 debug] Mouse: init end
[2325 debug] Screen: initScreens: multi monitor mouse check
[2326 debug] Screen: *** checking: R[0,0 1920x1080]@S(0) center: (960, 540) --- OK
[2327 debug] Screen: *** checking: R[-1920,0 1920x1080]@S(1) center: (-960, 540) --- OK
[2328 debug] Screen: initScreens: ending
[2328 debug] IDE: Adding components to window
[2335 debug] IDE: [I18N] menuRecent
[2351 debug] IDE: [I18N] menuToolAndroid
[2353 debug] IDE: creating tabbed editor
[2426 debug] IDE: creating message area
[2472 debug] EditorConsolePane: starting redirection to message area
Revision history for this message
|
#5 |
me too ;-)
try with:
java -jar <path-to-
Revision history for this message
|
#6 |
C:\SikuliX\1_4> java -jar C:/SikuliX/
[DEBUG] IDE: starting
[DEBUG] IDE: no extensions.txt nor valid content
[DEBUG] IDE: adding extension: C:\Users\
[DEBUG] IDE: Running: C:\SikuliX\
[DEBUG] IDE: AppData: C:\Users\
[DEBUG] IDE: Classpath: C:\SikuliX\
[DEBUG] IDE: no extensions.txt nor valid content
[95 debug] init user preferences
[97 debug] IDE: running with Locale: de_AT
[DEBUG] IDE: --- Sikuli parameters ---
[DEBUG] IDE: 1: -v
[DEBUG] IDE: 2: -c
[103 debug] HotkeyManager: add Capture Hotkey: STRG+UMSCHALT 2 (50, 3)
[555 debug] HotkeyManager: add Abort Hotkey: ALT+UMSCHALT C (67, 9)
[556 debug] IDE: Init ScriptingSupport
[559 debug] IDESupport: enter
[1601 debug] Runner: added: PowerShell [ps1] text/powershell
[1602 debug] Runner: added: Text [txt] text/text
[1603 debug] Runner: added: Sikulix [sikuli, skl, jar] directory/sikulix
[1615 debug] Runner: added: Jython [py, $py.class] text/jython
[1616 debug] Runner: added: Robot [robot] text/robot
[1884 debug] Runner: added: JavaScript [js] text/javascript
[1884 debug] IDESupport: added: Jython
[1884 debug] IDESupport: added: JavaScript
[1884 debug] IDESupport: added: Text
[1885 debug] IDESupport: exit: defaultrunner: Jython (py)
[1886 debug] IDE: Reading Preferences
[1890 debug] Screen: initScreens: starting
[1890 debug] Screen: Accessing: GraphicsEnviron
[1891 debug] Screen: Accessing: GraphicsEnviron
[1891 debug] Screen: ScreenDevice 0 has (0,0) --- will be primary Screen(0)
[1891 debug] Screen: Monitor 0: (0, 0) 1920 x 1080
[1891 debug] Screen: Monitor 1: (-1920, 0) 1920 x 1080
[1893 debug] Mouse: init start
[2398 debug] Mouse: init end
[2398 debug] Screen: initScreens: multi monitor mouse check
[error] RobotDesktop: checkMousePosition: should be L[960,540]@S(0)
but after move is L[961,540]@S(0)
Possible cause in case you did not touch the mouse while script was running:
Mouse actions are blocked generally or by the frontmost application.
You might try to run the SikuliX stuff as admin.
[2400 debug] Screen: *** multimonitor click check: R[0,0 1920x1080]@S(0) center: (960, 540) --- NOT OK: (961, 540)
[2401 debug] Screen: *** checking: R[-1920,0 1920x1080]@S(1) center: (-960, 540) --- OK
[2402 debug] Screen: initScreens: ending
[2402 debug] IDE: Adding components to window
[2410 debug] IDE: [I18N] menuRecent
[2422 debug] IDE: [I18N] menuToolAndroid
[2425 debug] IDE: creating tabbed editor
[2500 debug] IDE: creating message area
[2544 debug] IDE: creating combined work window
[2547 debug] IDE: Putting all together
[2548 debug] IDE: Putting all together - after main pane
[2611 debug] IDE: Putting all together - after toolbar
[2613 debug] IDE: Putting all together - before layout
[2678 debug] IDE: Putting all together - after layout
[2679 debug] IDE: Putting all together - Restore last Session
[2680 debug] IDE: Restore scripts from last session
[2681 debug] IDE: Restore Sikuli script: C:\SikuliX\
[2690 debug] EditorPane: created 1560334605491
[2700 debug] EditorPane: loadfile: C:\SikuliX\
[2701 debug] JythonRunner: starting initialization
[2721 debug] EditorPane: InitTab: (text/jython)
[2738 debug] SikuliEditorKit
[2752 debug] EditorPane: setFiles: for: C:\SikuliX\
[2757 debug] ImagePath: new BundlePath: C:\SikuliX\
[2759 debug] EditorPane: checkSource: started (C:\SikuliX\
[2850 debug] Image: loaded: functions5_
[2851 debug] Image: cached: functions5_
[2861 debug] Image: reused: functions5_
[2865 debug] IDE: Restore Sikuli script: C:\SikuliX\
[2871 debug] EditorPane: created 1560334605672
[2876 debug] EditorPane: loadfile: C:\SikuliX\
[2882 debug] EditorPane: InitTab: (text/jython)
[2883 debug] SikuliEditorKit
[2890 debug] EditorPane: setFiles: for: C:\SikuliX\
[2890 debug] ImagePath: new BundlePath: C:\SikuliX\
[2891 debug] EditorPane: checkSource: started (C:\SikuliX\
[error] Region(
Exception in thread "main" java.lang.
at org.sikuli.
at org.sikuli.
at org.sikuli.
at org.sikuli.
at org.sikuli.
at org.sikuli.
at org.sikuli.
at org.sikuli.
at org.sikuli.
at org.sikuli.
at org.sikuli.
at org.sikuli.
at org.sikuli.
at org.sikuli.
[5410 debug] RunTimeAPI: resourceLocation: (class org.sikuli.
[5411 debug] RunTimeAPI: resourceList: having jar: jar:file:
[7150 debug] RunTimeAPI: files exported: 7 from: Lib/sikuli to:
C:\Users\
[7153 debug] Jython: added as Jython:
C:\Users\
[7164 debug] Jython: ***** sys.path
0: C:\SikuliX\
1: C:\Users\
2: C:\Users\
3: C:\Users\
4: C:\Users\
[7207 debug] JythonRunner: ready: version 2.7.1
Revision history for this message
|
#7 |
ok, that was not what I would have expected.
I moved the old Folder. Now it is working.
THNKS
Revision history for this message
|
#8 |
I just downloaded SikuliX 2.0.0 on my Computer (64bit).
When I try to start the Jar by double click or via CMD the window "SikuliX-IDE is starting" pops up, but that's it. The Sikulix Application is never shown, even not after 15min.
There is one error shown.
my Computer:
ubuntu: kylin-4.0.2 64 bit
Java Version 1.8.0_77-ubuntu
Sikulix 2.0.0 did work
I downloaded
The Jython interpreter 2.7.1 for python scripting (the default)
The JRuby interpreter 9.x for ruby scripting
as well
java -jar sikulix-2.0.0.jar -v -c
[error] RunTime:loadLib: libJXGrabKey.so not usable:
java.lang.
Exception in thread "main" java.lang.
at java.lang.
at java.lang.
at org.sikuli.
at org.sikuli.
at org.sikuli.
at org.sikuli.
Caused by: org.sikuli.
at org.sikuli.
at org.sikuli.
at org.sikuli.
... 6 more
Revision history for this message
|
#9 |
@Xuhan
Please make your own questions.
the bundled libJXGrabKey.so does not seem to be compatible with your system environment.
Try to build your own and replace in SikuliX-APPDATA:
https:/