4

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 well,

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

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

thanks

jojo
  • 13,583
  • 35
  • 90
  • 123

2 Answers2

5

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.

Horcrux7
  • 23,758
  • 21
  • 98
  • 156
2

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

Andrew Schultz
  • 4,092
  • 2
  • 21
  • 44
Konrad
  • 716
  • 9
  • 21