Introduction to. Net-based Java Virtual Machine ikvm
??? ? Ikvm is positioned as a Java Virtual Machine Based on. net clr.
? This is an open-source project. Home Address: ikvm
What does. Net-based Java Virtual Machine Mean? This means that we can run Java programs on. NET. We can use the Virtual Machine (VM) intermediary to run Java programs and. NET applications.Work together.
What's even more valuable is that,Ikvm supports both Microsoft's. NET Framework and mono.
Technical Features of ikvm include:
1. java byte code can be converted to. Net il form in both static and dynamic (runtime) ways;
2. Includes a java standard library, which has been statically compiled into the. NET il form;
3. The JNI interface allows Java programs to access local resources through. Net or mono.
4. Provides a stub for Java to call the. NET class.
?
Ikvm can now provide good support for JDK 1.4.
Ikvm currentlyImmatureIn the following aspects:
1For AWT and swingNo support providedIn the ikvm development plan, this priority level is not high.
2. the Java security model is not implemented.
?
In general, we can use ikvm in the following three cases:
1. Run the Java program directly under ikvm, for example:
????????????? Ikvm-jar MyApp. Jar
2. Use ikvm to convert a Java class library to A. Net class library, for example:
Ikvmc-target: Library mylib. jar? Can be generated: mylib. dll
????? 3. Use ikvmstub to develop. net programs in Java.
?
Some materials related to the ikvm project:
- Monodevelop: A mono ide with ikvm support
- GNU classpath: the free Java Library Project
- Microsoft's J # For. net
Original Works
Tian Chunfeng
2004-8-22
I wrote a C # code generator ~
Discuss this interview
In the past we have done hard core tech talks which have been product and vendor agnostic ..... we have had a lot of interest in getting more talks which do go into some details on products. this is why we have started a new type of tech talk, named "vendor Perspectives"
Http://www.theserverside.com/talks/VendorPerspectives/Mainsoft/interview.tss