您可以在 VB.net 程序中使用 Java 库吗? [英] Can you use Java libraries in a VB.net program?

查看:29
本文介绍了您可以在 VB.net 程序中使用 Java 库吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道是否可以从 VB.net 应用程序调用 Java 库.

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)

推荐答案

不,你不能.除非您愿意使用一些J#"库(与 Java 几乎不一样)或 IKVM这是一个运行在 .NET 之上的 Java 实现,但正如他们的文档所说:

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:从 OpenJDK 类库派生的 Java 类库的编译版本,其中一些部分填充了来自 GNU Classpath 和 IcedTea 的代码,以及一些额外的 IKVM.NET 特定代码.

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.

这篇关于您可以在 VB.net 程序中使用 Java 库吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆