for this we use a tool call ikvm.
IKVM.NET consists of the following three main parts:
1. A Java Virtual Machine implemented in .NET
2. A .NET implementation of the Java class libraries
3. Tools that enable Java and .NET interoperability
Step to use ikvm :
1. Download it from http://www.ikvm.net/
2. Save it in C drive
3. Copy your jar file/ java class file in C:\ikvm\bin folder
4. goto command prompt and create two directory first ikvm & second bin
5. Now type following command ikvmc -target:Library yourfile name hit enter key you will get .dll file in same location having same name.
6. Now you have all most done.
The next step is to port this .dll file in your application : Step 1
Add new website : Step 2:
Now you have to add .dll into your application : right click onyour project --->>Add references-->>browse your .dll file Now , write following code on css file :
1. A Java Virtual Machine implemented in .NET
2. A .NET implementation of the Java class libraries
3. Tools that enable Java and .NET interoperability
Step to use ikvm :
1. Download it from http://www.ikvm.net/
2. Save it in C drive
3. Copy your jar file/ java class file in C:\ikvm\bin folder
4. goto command prompt and create two directory first ikvm & second bin
5. Now type following command ikvmc -target:Library yourfile name hit enter key you will get .dll file in same location having same name.
6. Now you have all most done.
The next step is to port this .dll file in your application : Step 1
Add new website : Step 2:
Now you have to add .dll into your application : right click onyour project --->>Add references-->>browse your .dll file Now , write following code on css file :