java -jar works, but ikvm -jar fails to find dependencies

Paul Chambre <[email protected]> Wed, 9 Nov 2016 13:07:08 -0700
Newsgroups gmane.comp.java.ikvm.devel
Message-ID <CAJwVo5GU2zLsxJXLQiW=xR8cwM8mYNtBui04AYzF_S1dGosKSQ@mail.gmail.com>
 Hi folks,

I'm trying to convert a jar to a dll, but that's failing to
load/initialize. To narrow down the problem, I tried running the jar from
java and from ikvm.

I have to pass a number of -D properties to the jvm to run the jar. I put
these into a batch file and made two copies... one using java and the other
using ikvm. The java version runs correctly, but the ikvm version fails
with class not found exceptions for core runtime items from rt.jar (e.g.
sun.nio.ch.WindowsSelectorImpl).

The ikvm version is 8.1.5717.
The JRE version is 1.8.0_60.

I am running in my C# app's bin\debug directory, with all of the jar files,
and all of the ikvm bin files, copied locally. Copying rt.jar locally did
not make a difference.

Thanks,
Paul

------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi

_______________________________________________
Ikvm-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ikvm-developers