Figuring out the exact problem.


After struggling a lot, I figured out the exact problems.
These were the problems:
  1. javah was removed from jdk10
    Fix-> add no error when javah is not found in m4/java.m4
  2. jdk8 was specified as source and target in build.incl.xml (111:217) which stopped the compilation with newer version.
    Fix-> Remove source and target from this.
  3. But again java.xml.bind was depreciated from jdk9 onwards, so it was causing an error.
    Fix -> compilerarg line="--add-modules java.xml.bind"
But still it is not able to fix the build yet for jdk10. Lets hope I can find a workaround.

Hoping for Best.
Happily Coding
Divyanshu Kumar