Thank you Andrew,
Post by Andrew T. FinnellAre you able to share the top level project or is it in-house?
Iâm afraid not. Itâs all closed source.
fwiw, our solution uses what we call a core-edge strategy,
The core code is a ui free service layer that uses java 2.0 syntax, cross compiles it over into j#, and then uses reflection on the j# assemblies to produce c#
The edge code is a set of âinterfacesâ, each with a parallel java / .Net implementation.
The edge implementations have no constraints on language capability or features. (but represent less than 5% of our total code)
But because of the J# constraint, we are bound to .NET 2.0 for nowâŠ
We intend to move away from this strategy by 2017, which is when J# support ends officially.
So far, ikvm has come up as our best bet.
Iâm just doing some early exploration, to decide whether we could take our existing java .jarâs in toto as the .NET assembly source
or whether weâd need to introduce a slightly different core-edge binding model (in the ikvm context)
Post by Andrew T. FinnellSo with enough persistence
Thatâs one of my strengths. Or weaknesses. Take your pick. âº
Appreciate the feedback
Anil
From: Andrew T. Finnell [mailto:***@gmail.com]
Sent: Tuesday, September 27, 2016 9:14 AM
To: Anil Peres-Da-Silva <Anil.Peres-Da-***@microfocus.com>; Jeroen Frijters <***@sumatra.nl>; ikvm-***@lists.sourceforge.net
Subject: Re: [Ikvm-developers] Compiler Warnings from ikvmc
This might help:
https://mvnrepository.com/artifact/javax.jmdns/jmdns/3.4.1
And you can find the Apache Commons one the same way. I thought there used to be a place that had quite a bit of the Apache artifacts pre-transcompiled. It may have lapsed in updates.
I was able to get Apache Zookeeper working in a .NET runtime before. So with enough persistence I'm certain you can get your project working.
The Java multicast could be an issue but you'll find out quickly enough. There might be a native .NET implementation of what you're attempting to use. Are you able to share the top level project or is it in-house?
Regards,
Andrew T. Finnell
-------- Original message --------
From: Anil Peres-Da-Silva <Anil.Peres-Da-***@microfocus.com<mailto:Anil.Peres-Da-***@microfocus.com>>
Date: 9/27/16 8:34 AM (GMT-05:00)
To: Jeroen Frijters <***@sumatra.nl<mailto:***@sumatra.nl>>, ikvm-***@lists.sourceforge.net<mailto:ikvm-***@lists.sourceforge.net>
Subject: Re: [Ikvm-developers] Compiler Warnings from ikvmc
Ah, ok
That makes sense
Thank you
anil
From: Jeroen Frijters [mailto:***@sumatra.nl]
Sent: Tuesday, September 27, 2016 8:33 AM
To: Anil Peres-Da-Silva <Anil.Peres-Da-***@microfocus.com<mailto:Anil.Peres-Da-***@microfocus.com>>; ikvm-***@lists.sourceforge.net<mailto:ikvm-***@lists.sourceforge.net>
Subject: RE: Compiler Warnings from ikvmc
Hi Anil,
The classes ikvmc warns about are not part of the JDK. Youâll need to find the jars that contain these dependencies (recursively) and pass them to ikvmc (either directly or as references to compiled jars).
Regards,
Jeroen
From: Anil Peres-Da-Silva [mailto:Anil.Peres-Da-***@microfocus.com]
Sent: Monday, September 26, 2016 23:37
To: ikvm-***@lists.sourceforge.net<mailto:ikvm-***@lists.sourceforge.net>
Subject: [Ikvm-developers] Compiler Warnings from ikvmc
Hi,
Iâm trying out the Release Candidate 8.1 version of ikvm, for the first time.
Iâve got a java .jar which Iâve successfully converted into a .NET assembly, which runs (for the most part) from within Visual Studio 15.
So far, Iâve encountered one issue. In generating the .dll, ikvmc produced five warnings (below).
warning IKVMC0100: Class "javax.jmdns.ServiceListener" not found
warning IKVMC0100: Class "javax.ejb.EJBObject" not found
warning IKVMC0100: Class "javax.ejb.EJBHome" not found
warning IKVMC0100: Class "org.apache.commons.net.ftp.FTPClient" not found
warning IKVMC0100: Class "javax.jmdns.JmDNS" not found
When running the code in VS2015, and attempting to connect to an ActiveMQ server, the code threw a java.lang.RuntimeException.
This runtime exception is clearly connected to the warnings generated.
Does ikvm support javax? Am I missing something?
Appreciate the help
Thanks
Anil
Click here<https://www.mailcontrol.com/sr/16LEfNnvYBvGX2PQPOmvUiQSa3+T5MHvri!svj6zCue31MygGfW!rkk!k3LJXJD9!S1XATNqGlxjDxGYc2QXWA==> to report this email as spam.