1

is there a way that functions in a dll file can be called and used in java? I've been searching for a better way to do it and most of the times it pointed me out to using JNI. But my problem with that is, it will be using c++. I'm wondering if there's still another way to do it. Thanks!

nsutgio
  • 240
  • 2
  • 6
  • 15

1 Answers1

5

The JNI is how it's done. However, you can speed things up by using a generator tool like:

You can also check out Java's Native Access libraries:

Daniel
  • 10,864
  • 22
  • 84
  • 115