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

后端 未结 8 1965
青春惊慌失措
青春惊慌失措 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条回答
  •  萌比男神i
    2020-12-03 16:52

    No, you can't. Unless you are willing to use some "J#" libraries (which is not nearly the same as Java) or IKVM which is a Java implementation that runs on top of .NET, but as their documentation says:

    IKVM.OpenJDK.ClassLibrary.dll: compiled version of the Java class libraries derived from the OpenJDK class library with some parts filled in with code from GNU Classpath and IcedTea, plus some additional IKVM.NET specific code.

    So it's not the real deal.

提交回复
热议问题