Closed gierlachg closed 4 years ago
Hello @jrudolph Could anybody review this PR ?
I don't think it will work because the JRE doesn't include the necessary header files. The problem seems to be solved in recent cmake versions (see https://gitlab.kitware.com/cmake/cmake/merge_requests/1637). Can you see if upgrading cmake helps?
I ran into this problem and created a javah bash script that just executes: javac -h "$@"
The build was successful, but I haven't tested perfmap yet.
I tried this and it doesn't help. As explained above the problem is with an outdated cmake version. More recent versions do work.
You probably need cmake 3.11.2 at least to build on Java >= 10
Not sure if that's the best way to achieve this - Runtime component does not require javah which is missing in JDK 10.