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

Language:
English Edit question
Status:
Answered
For:
Sikuli Edit question
Assignee:
No assignee Edit question
Last query:
2018-07-03
Last reply:
2018-07-03
RaiMan (raimund-hocke) said : #1

for unattended installation see faq 2609

This of course only works, if all prerequisites are fullfilled:
http://sikulix-2014.readthedocs.io/en/latest/basicinfo.html#sikulix-on-linux

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:

libXtst-devel-1.2.2-2.1.el7.x86_64
libXtst-1.2.2-2.1.el7.x86_64

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.