开发者

how to convert a jar to dll, the jar depending on multi jars

开发者 https://www.devze.com 2023-01-30 09:52 出处:网络
Hi i try to use ikvmc (http://www.ikvm.net/) to conver a jar to a dll the jar is : http://dl.dropbox.com/u/284185/dartapi.jar

Hi i try to use ikvmc (http://www.ikvm.net/) to conver a jar to a dll

the jar is :

http://dl.dropbox.com/u/284185/dartapi.jar

but that jar depends on multi jars as we开发者_运维技巧ll,

http://dl.dropbox.com/u/284185/lib.zip

what command should i use to convert that jar to a dll???

thanks


You can compile it in one step:

ikvmc { file1.jar }  { file2.jar } ...

or you need to compile it in the order of dependency if there is a hierarchy and no circle dependency.

See the IKVM Wiki for more details.


You compile the dependent jar into a dll first and then reference it when you compile the main jar.

Something like:

ikvmc -target:library depend.jar
ikvmc -target:library -resource:depend.dll dartapi.jar

See: IKVM docs

0

精彩评论

暂无评论...
验证码 换一张
取 消