must tool to check
http://www.ikvm.net/index.html
IKVM.NET is an implementation of Java for Mono and the Microsoft .NET Framework. It includes the following components:
- A Java Virtual Machine implemented in .NET
- A .NET implementation of the Java class libraries
- Tools that enable Java and .NET interoperability
i have a jar file with log4j - i get error
warning IKVMC0111: Emitted java.lang.NoClassDefFoundError in ("org.apache.log4j.MDC")
when using
ikvmc -target:library 123.jar
so :
i download log4j
convert it to .net dll
ikvmc -target:library log4j-1.2.17.jar
convert 123.jar file to .net dll + add reference to log4j
ikvmc -target:library 123.jar -r:log4j-1.2.17.dll
and its worked !!!
Happy converting
Yaniv Tzanany
No comments:
Post a Comment