Including sikulixlibslux.jar in a executable Java jar file

Asked by Spencer Keller

I have a Java Sikuli project that builds and executes just fine on Windows. I'm now trying to get it to run on Linux but get an error that /sikulixlibs/linux/libs64 is not on the classpath. I build the project on Windows using Maven which builds me an executable jar file that contains all of the java dependencies. How and what do I include as a dependency in my Maven pom file that will force the inclusion of the sikulixlibslux.jar file? I have the jar file from the installation of Sikulix on the Linux system and can include it in my Maven repository but what is the "groupId" and "artifactId" for my Maven depenency?

Thanks,
Spence

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
Spencer Keller
Solved:
Last query:
Last reply:
Revision history for this message
Spencer Keller (spencer-keller) said :
#1

Never mind. I figured out how to do this. I needed to run the maven "mvn install:install-file" command to load the sikulixlibslux.jar file into my local Maven repository.

Spence