I decided to put my Java “native”-methods class in some package within my program.
When I call javac -h
on that java class, it generates a file named com_example_foo_baz_MyJniInterface.h
The same applies to that auto-generated functions inside the header file.
I know it’s a default behaviour that probably supposed to ensure uniqueness, but is there a way to generate the file without this cumbersome prefix?
Thanks!
New contributor
ron.jr is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.