Can I add .JAR file as a library in my C# project? If I can do that it will help me to save writing duplicate codes for JAVA & for C#.
I looked at "https://github.com/jni4net/jni4net/" but didn't get the answer if I can really called the API written in .JAR files.
Thanks in Advance!
I was able to use JAR file in C# after converting it into DLL using ikvm. Here's the steps I followed:
There is also another way using JNI4NET - https://github.com/jni4net/jni4net/ but I haven't explored it much as I was able to achieve what I want using iKVM
Happy Coding!
Thanks