Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

javah goal does not work on jdk10+ #356

Open
n-e-g opened this issue May 1, 2020 · 1 comment
Open

javah goal does not work on jdk10+ #356

n-e-g opened this issue May 1, 2020 · 1 comment

Comments

@n-e-g
Copy link

n-e-g commented May 1, 2020

Since jdk10 there is no javah tool anymore, and it is replaced with javac -h.
NAR plugin does not work then with newer JDKs.
There are couple of possible solutions:

  • either customize plugin with command args (but this requires changing -d flag in old javah)
  • create a flag in configuration to use new vs old syntax
  • autodetect JDK (if javac exists but javah does not, switch to new behavior)

I could provide a patch for this, but need some guidelines which approach seems to be better

@devurandom
Copy link

This seems to be a duplicate of #313.

See #313 (comment) for a workaround

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants