Having issues with runable jar file

Asked by Kevin Mach

I am using Eclipse as my IDE. Today I decided to export my project into a runnable jar so that my friend could test it on his system. I made sure to include all references and dependencies so that my friend could just run the jar file without installing anything else. Upon testing the jar file, nothing seems to work, at the very start there is a GUI that is displayed for the user to enter some parameters and clicking the button will start the automation task.

Everything works fine when I run my application from Eclipse but when using the exported JAR file, nothing seems to happen.
- I have noticed that I need to run Eclipse in Admin mode on Windows to get anything Sikuli to work.

Please help. I am not sure how to troubleshoot this problem or what could be the cause. Thank you.

Question information

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

switch on Debug level 3, to see where and when SikuliX offends.

on the command line with a java command:
-Dsikuli.Debug=3

I recommend to use 1.1.1 in any case.

Can you help with this problem?

Provide an answer of your own, or ask Kevin Mach for more information if necessary.

To post a message you must log in.