问题
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