Using a java class from Delphi

后端 未结 5 608
南旧
南旧 2020-12-03 11:35

I need to use the logic contained in some java classes. I found JNI, but that project seems not updated recently.

Is there a way to use it in a Delphi native applica

5条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-03 12:09

    Embed the VM in the native code. This worked for me. An example with c can be found here. http://java.sun.com/docs/books/jni/html/invoke.html

提交回复
热议问题