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

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

问题描述

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

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

(Google搜索引起了很多阴暗的答案,但没有任何确定性)

(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天全站免登陆