Re: Compiler Warnings from ikvmc

Jeroen Frijters <[email protected]> Tue, 27 Sep 2016 12:32:53 +0000
Newsgroups gmane.comp.java.ikvm.devel
Message-ID <[email protected]>
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:[email protected]]
Sent: Monday, September 26, 2016 23:37
To: [email protected]
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

------------------------------------------------------------------------------

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