Re: Bi-directional .NET <-> Java support?
Brian Cottingham <[email protected]> Fri, 2 Oct 2015 14:11:53 -0400
| Newsgroups | gmane.comp.java.ikvm.devel |
|---|---|
| Message-ID | <CAJEMKXPb=WdzB_F4r6YgTpxdsrrhCcz6KwyH8QZCpy7Xoe1wSQ@mail.gmail.com> |
Hmmm, I'm not clear on the path to accomplish my goal. My goal is thus: .NET Unity App, launched in usual .NET way (not with IKVM, because it's not from a a .jar) ============== MyModule.dll ( from ikvmc module.jar ) *Needs* 1. *.NET App* needs to be able to call methods in *MyModule.dll* 2. *MyModule.dll* needs to be able to call *.NET App* methods. On Fri, Oct 2, 2015 at 11:15 AM, Volker Berlin <[email protected]> wrote: > If you compile your Java again the stub classes then you can't run it as > Java application. You can call .Net code from Java classes but only if it > run with IKVM. The stub jar files are only for the compiler and not for the > runtime. > > Volker > > > Am 02.10.2015 um 16:48 schrieb Brian Cottingham: > > I'm trying to have my .NET Unity code call some Java game logic, and the > Java code needs to call back to the .NET Unity game engine APIs. I can't > make this work. > > I've tried making a stub file of the .NET classes I'm trying to reference, > but get Class Not Found when trying to use said classes from Java. This > occurs even when attempting a "hello, world"-type prototype, with no Unity > involved. > > Is this supposed to be possible? What can I do to make this work? > > > ------------------------------------------------------------------------------ > > > > _______________________________________________ > Ikvm-developers mailing [email protected]://lists.sourceforge.net/lists/listinfo/ikvm-developers > > > > > ------------------------------------------------------------------------------ > > _______________________________________________ > Ikvm-developers mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/ikvm-developers > > ------------------------------------------------------------------------------ _______________________________________________ Ikvm-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ikvm-developers