Search code examples
c#.net-coreikvm

Expose Java Library to .NetCore2.2


I'm upgrading to .NetCore2.2 from .NetFramework4.7.2 and there is legacy code that uses a java library that I would like to continue using after the conversion (I would prefer to not change this library).

While using .NetFramework I used IKVM to execute this library, but it is unavailable in .NetCore, and I haven't found alternatives that work in .NetCore.

So far I've only tried jni4net as I have not found anything else to look at.

Is there a way to use this java library in .NetCore, or can anyone suggest an alternative way to consume it?

Thanks in advance.


Solution

  • JNBridgePro works with .NET Core, but it's .NET Core 3.0.