Can you use Java libraries in a VB.net program?

后端 未结 8 1997
青春惊慌失措
青春惊慌失措 2020-12-03 16:36

I\'m wondering if a Java library can be called from a VB.net application.

(A Google search turns up lots of shady answers, but nothing definitive)

8条回答
  •  余生分开走
    2020-12-03 16:55

    You could use JNI to instantiate a virtual machine and then use Java Classes. It will be some fun, though, because you would need to use C++ as a bridge between VB.Net and Java.

    This article in java world has a quick tutorial on how to use Java from C++ and viceversa.

    http://www.javaworld.com/javaworld/javatips/jw-javatip17.html

提交回复
热议问题