Unable To Create Executable JAR

Asked by Andrew Martin

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:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
Andrew Martin
Solved:
Last query:
Last reply:

This question was originally filed as bug #1777642.

Revision history for this message
RaiMan (raimund-hocke) said :
#1

should be a question

Revision history for this message
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?

Revision history for this message
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.

Revision history for this message
RaiMan (raimund-hocke) said :
#4

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

Revision history for this message
Andrew Martin (andrewassec) said :
#5

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