I started on the ahead-of-time-compiler again, with the goal of precompiling the classpath classes. I've created a zip containing all the binaries needed. Just unzip the file, make sure the directory is in the path and run a Java class: ikvm <class>
It uses the CLASSPATH environment variable (instead of the earlier IKVM_CLASSPATH), and if that is not set, it assumes the current directory. Zips and jars are not yet supported.
The classpath.dll (from the binaries zip) can also be used from (for example) a C# program (don't forget to add a reference to classpath.dll & ik.vm.net.dll): class JTest { public static void Main() { java.util.Hashtable h = new java.util.Hashtable(); h.put("foo", "bar"); h.put("fu", "baz"); java.lang.System.@out.println(h); } } Updated the source snapshot.
3:41:14 PM Comments
|