Conversion of jar to dll using ikvm

nowfal picture nowfal · Mar 17, 2011 · Viewed 25.4k times · Source

I am trying to convert a jar into dll in dotnet using IKVM but am getting this error Exception in thread "main" java.lang.ClassNotFoundException: \Location of the jar\...

CAn anyone provide some guidance..

Thanks in advance

Answer

Yasir Kamal picture Yasir Kamal · Dec 14, 2011

Prerequisites -

  1. You must have the JDK installed on your system.
  2. Set the environment variables for the JDK.

enter image description here

Steps:

  1. Open the command prompt.
  2. Go to the ikvmc folder (ikvmc.exe comes with the ikvm package).
  3. Enter the command ikvmc -out:myapp.dll myapp.jar