How to embed java into C#

☆樱花仙子☆ 提交于 2019-12-31 00:47:08

问题


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#.

Thank you very much!!!


回答1:


You could try IKVM ?

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

  • Drop-in JVM
  • Use Java libraries in your .NET applications
  • Develop .NET applications in Java


来源:https://stackoverflow.com/questions/4103979/how-to-embed-java-into-c-sharp

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!