UseJava: Document Java_JAR_PATHS
Hi,
I'm running gentoo, and java packages are not found in /usr/share/java/
or /usr/local/share/java/
.
I'm trying to install a package that depends on CMake's UseJava
, and it is not able to locate packages I need. Unfortunately, these packages are not found in a standard location, opting for eg /usr/share/commons-lang-3.6/lib/commons-lang.jar
.
My question is: what is Java_JAR_PATHS
used for? It looks to be adding onto the search path, but I can't find any documentation surrounding it. Additionally, adding a single search path to Java_JAR_PATHS
works, but what if I need to add multiple paths? eg /usr/share/commons-lang-3.6/lib/
& /usr/share/slf4j-api/lib
.
Thank you,