在Linux上的Java程序中使用.Net核心库 [英] Using .Net Core Libraries in Java Programs on Linux

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

问题描述

有没有人对如何在Linux上的Java程序中使用.Net Core dll有任何想法?

Does anyone have any ideas for how to use .Net Core dlls in Java programs on Linux?

谢谢!

Croix

g

推荐答案

使用C / C ++代码作为桥梁使用JNI

托管web服务中的.NET核心代码

让Java称之为

第一个可能提供更好的性能,但第二个更容易编写。

The first one would probably provide better performance, but the second one will be easier to write.

编辑:似乎WCF服务器端托管for .NET Core尚未实现。如果你想看到它被实现,

请投票

Seems WCF server side hosting for .NET Core is not implemented yet. If you want to see it be implemented, please vote.

这意味着JNI似乎是唯一可行的方式。

That means JNI seems to be the only way that will work.


这篇关于在Linux上的Java程序中使用.Net核心库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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