Click here to Skip to main content
15,881,588 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
i have a .jar i want to use that in my visual studio project as in form of dll

Is there any way to convert it into dll
Posted

Did you Google[^] yet?
 
Share this answer
 
JAR files are java's packaging for compiled code units, so you can't use them as DLL in c# or c++ applications since they run and rely on the java platform to work.

You could use them at a higher level through message passing between runtimes of .net and java (you will have to create a protocol and message handler code your self if it is at all possible for the functionality of the JAR files).
 
Share this answer
 
An excerpt from following link. This could help you in the right direction.

Quote:
Convert a Java Application to .NET
IKVM.NET includes ikvmc, a utility that converts Java .jar files to .NET .dll libraries and .exe applications. In this section, you'll convert a Java application to a .NET .exe.


IKVM.NET Tutorial[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900