Open Leo428 opened 6 years ago
I think Kotlin replacement for javah answers the problem in the question with what may be needed here. (I haven't looked specifically at the use for javah
in this case.)
The recommendation is to use javac -h
in place of javah
. The primary difference is that javah
operates on .class
files where javac
operates on java source files.
I saw that solution too. I tried simply replacing "javah" to "javac -h" in that line. But since I have little knowledge about groovy and gradle, it did not work.
I tried to build the master with JDK 10 on Mac OS High Sierra. Error like this will occur:
I resolved this issue by changing line 112 in jni.gradle to
This problem is caused by the removal of javah I have not tested whether "javap" will work the same as "javah" in other JDK versions. Hope you can look into this.