Can sikuli work without Java

Asked by Djg

Hi,

Per my understanding we cannot use sikuli with Java even if we dont use the IDE i.e. just use text editor & command line to execute the script. The reason being it uses Java.awt.Robot for keyboard and mouse actions.

Can you please confirm my understanding?

Is there any other use of Java in Sikuli apart from the IDE & Java.awt.robot (as highlighted above)?

Thanks!!

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
RaiMan
Solved:
Last query:
Last reply:
Revision history for this message
Best RaiMan (raimund-hocke) said :
#1

The kernel features and the public API is totally based on Java. Below this some native C/C++ features (OpenCV, tesseract OCR, system specifics) are accessed via JNI.

The IDE currently allows to setup and run Jython scripts (Python language), which uses a Jython wrapper API for the internal Java API.

So you always need Java to run Sikuli in any setup:
- using the IDE
- using just sikuli-script.jar from command line with the java command
- as plain Java programs e.g. developed in Eclipse

Revision history for this message
Djg (gdeepakjain) said :
#2

Thanks RaiMan, that solved my question.