You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I added the following code in gradle.build file to set systemProperty.
task local {
run { systemProperty "java.library.path", file("${project(":hello").buildDir}/lib/main/debug").absolutePath }
}
bootRun.mustRunAfter local
But , it not worked.
I followed this project to implement JNI . I searched in internet about how to set system properties for java.library.path in gradle . But , no answer found.
I also asked a question in stackoverflow But , no response.
so, please help me !!!
If I run it comes an error like this java.lang.UnsatisfiedLinkError: no hello in java.library.path.
Can you give any documents or reference about it ?
How can I set systemProperty java.library.path in gradle.build file ?
Give a answer!!!!
The text was updated successfully, but these errors were encountered:
usually I set jni library path like this.
I want to build JPackage for windows , linux and Mac with github actions.
But, I didn't know about how to set system Property in gradle for all the three following os?
How can I set systemProperty
java.library.path
?I followed this answer
I added the following code in gradle.build file to set systemProperty.
But , it not worked.
I followed this project to implement JNI . I searched in internet about how to set system properties for
java.library.path
in gradle . But , no answer found.I also asked a question in stackoverflow But , no response.
so, please help me !!!
If I run it comes an error like this
java.lang.UnsatisfiedLinkError: no hello in java.library.path
.Can you give any documents or reference about it ?
How can I set systemProperty
java.library.path
in gradle.build file ?Give a answer!!!!
The text was updated successfully, but these errors were encountered: