Search This Blog

Thursday, October 28, 2021

Multiple flavors of an Android app

Building multiple flavors of an Android app

 https://www.androidauthority.com/building-multiple-flavors-android-app-706436/





Saturday, October 23, 2021

VS2019 - MFC Database connection

 https://docs.microsoft.com/en-us/cpp/data/data-access-in-cpp?view=msvc-160


Wednesday, May 5, 2021

Tuesday, March 9, 2021

Run Java on .Net - convert java to c#

 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