如何嵌入Java到C# [英] How to embed java into C#

查看:235
本文介绍了如何嵌入Java到C#的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您能告诉我,拜托,我怎么能嵌入Java模块/源代码转换成C#应用程序?比如我有写在Java的一些逻辑和这个逻辑使用只能在Java平台上找到一些第三方库。我有写在C#主要宿主逻辑。这将是非常酷的,如果我能够从Java回调注册到C#。

Could you tell me, please, how can I embed java module/source code into C# application? For example i have some logic that written on java and this logic uses some third party libraries which can be found only on java platform. And i have main host logic that written on C#. It will be very cool, if i'll be able to register callbacks from java into C#.

非常感谢你!

推荐答案

您可以尝试 IKVM

IKVM.NET是几个不同的软件开发方案中非常有用。下面是一些可能的样本。

IKVM.NET is useful for several different software development scenarios. Here is a sampling of some of the possibilities.


  • 落于JVM

  • 使用Java库在.NET应用程序

  • 开发.NET应用程序在Java中

这篇关于如何嵌入Java到C#的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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