# Wednesday, November 4, 2009
« MS09-061 Vulnerability Details | Main | Going Crazy with Generics, or The Story ... »
New Development Snapshot

While the 0.42 release is still baking, a new development snapshot is available.


  • Nat worked on clipboard and drag-and-drop support.
  • Volker worked on print support.
  • Various awt fixes/improvements.
  • Code cleanup/refactoring to prepare for IKVM.Reflection (replacement of IKVM.Reflection.Emit).
  • Fixed ikvmstub to ignore private interfaces.
  • Removed .NET 4.0 beta 1 workarounds.
  • Simplified the obj1.getClass() == obj2.getClass() intrinsic to avoid requiring full trust on .NET 4.0.
  • Optimized field reflection. We now delay creating the dynamic methods to access the field until after the field has been accessed a couple of times, this saves a lot of memory for fields that are only usused a few times.
  • Added -publicpackage:<pkg> option to ikvmc. Contributed by Eyal Alaluf of Mainsoft.
  • Added public API to get ClassLoader from Assembly.
  • Added (optional) per-module initialization to custom assembly class loaders.
  • Added ikvmc option -nopeercrossreference and the ability to use -r with peer assemblies.

Binaries available here: ikvmbin-0.43.3595.zip

Wednesday, November 4, 2009 3:23:41 PM (W. Europe Standard Time, UTC+01:00)  #    Comments [5]
Thursday, November 19, 2009 3:55:03 AM (W. Europe Standard Time, UTC+01:00)
Hello Jeroen,

I am so glad to see IKVM moving forward.

We are migrating to release IKVM 0.40 from 0.38. In the new release we no longer have access to .NET platform classes using java.lang.Class.getClassloader(). For example, in 0.38 we used the following:

Class.forName ("cli.System.Type")

How do we get access to Java classloader capable of loading .NET system types?

Andy Malakov
Thursday, November 19, 2009 4:03:16 AM (W. Europe Standard Time, UTC+01:00)
Update: Adding "classloader:ikvm.runtime.AppDomainAssemblyClassLoader" fixes the problem. Looks default classloader in 0.40 is different. --Andy
Andy Malakov
Saturday, November 21, 2009 7:09:53 AM (W. Europe Standard Time, UTC+01:00)
Hello Jeroen,
I try use IKVM 0.43 on VS.2005
the java code follow
Class clazz = Class.forName(className, true,Thread.currentThread().getContextClassLoader());
Object object = clazz.newInstance();
Method m = clazz.getMethod(method,null);
String out = null;
try {
out = (String)m.invoke(object,null);
} catch (Exception e) {

return out;
when i debug on VS.2005 ,it show meassage:
“Void System.Reflection.Emit.DynamicMethod..ctor(System.String, System.Type, System.Type[], Boolean)”
please tell me cause
Saturday, November 21, 2009 2:40:04 PM (W. Europe Standard Time, UTC+01:00)
Hello Yang,

That probably means that you don't have .NET 2.0 SP1 installed. A while ago I stopped supporting .NET 2.0 without SP1, but SP2 has also been out for a while and is really recommended.

Sunday, November 22, 2009 8:06:42 AM (W. Europe Standard Time, UTC+01:00)
Hello Jeroen,
Issues have been,thank you very much!
Please forgive my not carefully.
But I have a suggestion,can explain the need for each version of IKVM of Java and. NET environment, I may not be found in the guide book

Once again,thank
Comments are closed.