Headless installation of sikulixapi on Linux

Asked by Ven Karri on 2018-07-03

Is there a way to install the sikulixapi without going through the GUI steps? In other words, what's the method to install sikulixapi.jar from sikulixsetup.jar on Linux?

Question information

English Edit question
Sikuli Edit question
No assignee Edit question
Last query:
Last reply:
RaiMan (raimund-hocke) said : #1

for unattended installation see faq 2609

This of course only works, if all prerequisites are fullfilled:

Another option is to prepare a valid sikulixapi.jar on a compatible system and simply copy the jar to the headless system.

Ven Karri (imperialguy) said : #2

I ran: java -jar sikulixsetup-1.1.3-20180628.130235-31-forsetup.jar options 2 4.3.

I got the following error:

[error (7/3/18 8:19:46 AM)] Can't initialize global Robot for Mouse: java.awt.Robot requires your X server support the XTEST extension version 2.2

I do have the following libraries already installed on the linux machine. It's a CentOS 7 machine. How do I get these tests to pass?

If I run it with the no tests option, then it's all good. But, I want to run the tests as well.

Ven Karri (imperialguy) said : #3

The libraries I installed on the CentOS 7 are:


RaiMan (raimund-hocke) said : #4

sorry, but I cannot help you with that - too specific.

You should try on e.g. stackoverflow.

BTW: 4.3 with options should not be needed, since it is a Linux system where setup runs anyways.

Can you help with this problem?

Provide an answer of your own, or ask Ven Karri for more information if necessary.

To post a message you must log in.