2

I want to build Java application which uses JNI and code in C. Moreover I want make my app cross-platform by compiling native code and packaging native platform-dependent libraries within JAR file. I was following this guide but it is not working. I have no examples with maven-native-plugin nor NAR plugins. How is it possible to make java native methods cross-platform?

Anthon
  • 69,918
  • 32
  • 186
  • 246
Grigory Rozhkov
  • 85
  • 1
  • 12

1 Answers1

1

I would suggest to check the nar-maven-plugin for example.

khmarbaise
  • 92,914
  • 28
  • 189
  • 235