Re: How to use jvm.dll with precompiled jar
Tony Lavinio <[email protected]> Fri, 11 Dec 2015 17:27:52 +0000
| Newsgroups | gmane.comp.java.ikvm.devel |
|---|---|
| Message-ID | <[email protected]> |
Do you have an example somewhere of someone doing something like this? I know how to recompile jvm.dll, but my .net is a little light. -----Original Message----- From: Jeroen Frijters [mailto:[email protected]] Sent: Friday, December 11, 2015 11:37 AM To: Tony Lavinio <[email protected]>; [email protected] Subject: RE: How to use jvm.dll with precompiled jar jvm.dll is bit weird in that it is generated by a tool, but you could regenerate it to point the CreateJVM API to your own assembly and use ikvm.runtime.Startup.addBootClassPathAssembly() to register your compiled assembly and then forward to the IKVM.Runtime.JNI implementation. > -----Original Message----- > From: Tony Lavinio [mailto:[email protected]] > Sent: Friday, December 11, 2015 16:08 > To: [email protected] > Subject: Re: [Ikvm-developers] How to use jvm.dll with precompiled jar > > Would recompiling jvm.dll to add my xyz.jar as one of the dependencies > solve the problem, or is it more fundamental? > > -----Original Message----- > From: Jeroen Frijters [mailto:[email protected]] > Sent: Friday, December 11, 2015 10:02 AM > To: Tony Lavinio <[email protected]>; ikvm- > [email protected] > Subject: RE: How to use jvm.dll with precompiled jar > > I don't think there's currently a way to do this without modifying > either the app or the ikvm runtime. > > > -----Original Message----- > > From: Tony Lavinio [mailto:[email protected]] > > Sent: Friday, December 11, 2015 15:28 > > To: [email protected] > > Subject: [Ikvm-developers] How to use jvm.dll with precompiled jar > > > > I have an application which uses JNI, and I have been able > > successfully to have it use jvm.dll to reach and execute code in a > > jar in the classpath. > > > > > > > > So, for example, if the jar is xyz.jar, I can put xyz.jar in the > > classpath and all is well. > > > > > > > > But is there a way to use ikvmc to convert the jar to a dll, and > > have jvm.dll use that instead, so there is no run-time compilation > > of byte code to IL? How do I add the dll to my path? > > ---------------------------------------------------------------------- > -- > ------ > _______________________________________________ > Ikvm-developers mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/ikvm-developers ------------------------------------------------------------------------------