Re: java -jar works, but ikvm -jar fails to find dependencies
Volker Berlin <[email protected]> Thu, 10 Nov 2016 20:55:18 +0100
| Newsgroups | gmane.comp.java.ikvm.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Paul, The class sun.nio.ch.WindowsSelectorImpl is not part of the IKVM. Do you have a stacktrace? Volker Am 10.11.2016 um 19:43 schrieb Paul Chambre: > By the way, the failure to find the class is being initated by > Class.forName(). > > I also tried extracting rt.jar and adding the extracted path to -cp. > That didn't help either. > > On Wed, Nov 9, 2016 at 1:07 PM, Paul Chambre <[email protected] > <mailto:[email protected]>> wrote: > > 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 > <http://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 > > > > > -- > Paul Chambre > > Senior Solutions Architect > (719) 465-6097 > > Illumon - Big Value From Big Data > > > ------------------------------------------------------------------------------ > 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 ------------------------------------------------------------------------------ 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