The feasibility of java calling vtk's c++ dynamic library through JNI and JNA



Build VTK with VTK_WRAP_JAVA=ON and have a look at the generated code which uses JNI.

Thank you for your anwser, but I don’t understand what you mean, could you explain it in detail.

I have got it. I should load the vtk libraries, not only the c++ project dll.