I have created a C# project and a DLL. I have used this command to generate the Java jar file from C# dll.ikvmstub c:\myc#.dll. Here is my C# class that I need to call from java using IKVM
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using System.Drawing;
namespace test
{
    public class test
    {
       public test()
       {
       }
        public String printHellowfromC#()
       {
           return "hellow from C#";
       }
    }
} 
 
     
    