Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to embed java into 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#.

Thank you very much!!!

like image 409
Edward83 Avatar asked Feb 26 '23 22:02

Edward83


1 Answers

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
like image 147
Marc Gravell Avatar answered Mar 04 '23 01:03

Marc Gravell