Re: Referencing dll which was created by ikvmc

Jeroen Frijters <[email protected]>
Newsgroups gmane.comp.java.ikvm.devel
Message-ID <[email protected]>
Hi Alper,

You are mixing two different IKVM builds:


Current runtime: IKVM.Runtime, Version=7.2.4630.5, Culture=neutral, PublicKeyToken=0738eb9f132ed756
Referenced assembly runtime: IKVM.Runtime, Version=7.2.4630.5, Culture=neutral, PublicKeyToken=13235d27fcbfff58

Notice that the public key tokens are different. That doesn’t work.

Regards,
Jeroen

From: alper özaslan [mailto:[email protected]]
Sent: Monday, September 22, 2014 15:17
To: [email protected]
Subject: [Ikvm-developers] Referencing dll which was created by ikvmc


Hi everbody,

I generated .dll file from .jar file using ikvmc, but when I tried to run my program , I got error like this:

The type java.lang.Object' is defined in an assembly that is not referenced. Consider adding a reference to assembly IKVM.OpenJDK.Core, Version=7.2.4630.5, Culture=neutral, PublicKeyToken=0738eb9f132ed756'

I have already tried to add IKVM.OpenJDK.Core.dll but it does not work.

I also tried to create new .dll which includes IKVM.OpenJDK.Core.dll and this time I got error like this:

fatal error IKVMC5046: Referenced assembly /home/alper/Desktop/ikvm1/ikvm-7.2.4630.5/bin/IKVM.OpenJDK.Core.dll was compiled with an incompatible IKVM.Runtime version
Current runtime: IKVM.Runtime, Version=7.2.4630.5, Culture=neutral, PublicKeyToken=0738eb9f132ed756
Referenced assembly runtime: IKVM.Runtime, Version=7.2.4630.5, Culture=neutral, PublicKeyToken=13235d27fcbfff58

How can I solve these problems?

Best regards.

--
Alper OZASLAN
Computer Engineering
Student at YTU

------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk

_______________________________________________
Ikvm-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ikvm-developers
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.