Ask Your Question
0

Java Maven Deployment

asked 2017-09-27 14:30:43 -0500

Davaaron gravatar image

Hi,

I would like to deploy my javafx project with all dependencies, so that the client do not need to install any library on his own like opencv etc. I'm using maven as my build tool which references all needed 3rd party libraries. To include opencv via maven, I installed opencv (the jar and the dll file) to my local maven repo. To build an executable jar, the program starts but breaks when I try to load the opencv library.

Can someone please provide a full example on how to deploy a java project by maven with opencv included? As there are differences in loading dll files, it would help a lot to point that section out, too.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2017-10-14 09:06:05 -0500

Davaaron gravatar image

If anyone is still concerning the same issues like I had, try this Maven dependency which allows a multi-platform solution without the need to have OpenCV installed or anything like that:

OpenPNP Maven Repository

The official github repository from OpenPNP can be found here: OpenPNP Github

Happy coding!

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2017-09-27 14:30:43 -0500

Seen: 859 times

Last updated: Oct 14 '17