开发者

IKVM load jars from .NET project

Is there any wa开发者_如何学JAVAy to load a jar file from .NET project using IKVM?

Summary of what I am trying to achieve 1) I have a .NET project that uses a Java code (MYClass) compiled to a .NET DLL using IKVM. 2) MyClass function F1() uses a class present in say Try.jar. 3) When I make a call to Function F1() from .NET code, it throws an exception related to Try.jar

My question is it possible to load Try.jar in .Net project. I dont want to compile Try.jar as a DLL using ikvmc.


If you want load a jar file then you need to implements a URLClassLoader. See in the IKVM wiki for details.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜