Unable To Create Executable JAR

Asked by Andrew Martin on 2018-06-19

Whenever I try to create an Executable Jar I get the error:
[error] FileManager: makingScriptJar: sikulixapi.jar missing. run setup first!

So I downloaded the sikulixapi from here: https://mvnrepository.com/artifact/com.sikulix/sikulixapi/1.1.1
Put it in the same folder and ran it and tried again but I am getting the same error message.

Question information

Language:
English Edit question
Status:
Solved
For:
Sikuli Edit question
Assignee:
No assignee Edit question
Solved by:
Andrew Martin
Solved:
2018-06-19
Last query:
2018-06-19
Last reply:
2018-06-19

This question was originally filed as bug #1777642.

RaiMan (raimund-hocke) said : #1

should be a question

RaiMan (raimund-hocke) said : #2

Please tell more about what you are doing exactly and what you want to achieve.

Did you run a setup first?

Andrew Martin (andrewassec) said : #3

I have created a simple Sikuli script and when I try to Export it as a runnable JAR so that it can be used on another machine. I get the error
[error] FileManager: makingScriptJar: sikulixapi.jar missing. run setup first!
I have tried to export some other example scripts and I am getting the same error message.
I have tried downloading the sikulixapi from here: https://mvnrepository.com/artifact/com.sikulix/sikulixapi/1.1.1
and I have tried re-installing Sikuli and I get the same error message.

How can I resolve this error so that I can export my script as a standalone runnable JAR.

RaiMan (raimund-hocke) said : #4

you have to run setup with option 2, to get a useable sikulixapi.jar

Andrew Martin (andrewassec) said : #5

I have installed it with Option 2 and it works now thanks.