Jni4net with custom Java Classes or Jar

496 Views Asked by At

I saw a lot of examples on how to use primitive java classes in .NET, but how I can use my own Jar in .NET? Until now I could do this by reflection, but because I have a method with parameters File[] and String[] and jni4net doesn't have a definition for class of this (i.e. File[].class), I cannot invoke them.

I couldn't find a step by step tutorial on how I can do this. I tried with generateProxies.cmd, but I still cannot make it work.

Thanks a lot

0

There are 0 best solutions below