Conversion of jar to dll using ikvm

前端 未结 4 1582
醉梦人生
醉梦人生 2020-12-15 01:58

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\\..

4条回答
  •  既然无缘
    2020-12-15 02:19

    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

提交回复
热议问题