Ask Your Question

problems in setting example project in java

asked 2013-10-04 18:00:59 -0500

my problem comes from this tutorial section "SBT project for Java and Scala".

When I run sbt, it throws an exception "no opencv_java246 in java.library.path".

so i type sbt -Djava.library.path=%my_native_library_path% run to set the java library path, it will not throw exception and have desired result.

But I don't want to specify the native java library path every time when I run sbt. Is there a way to assign it at the beginning and use it as a default? Thanks!

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2013-10-06 07:29:21 -0500

Maxim Galushka gravatar image

Have a look here, described all possibilities configuring with SBT:

edit flag offensive delete link more

Question Tools


Asked: 2013-10-04 18:00:59 -0500

Seen: 241 times

Last updated: Oct 06 '13