Introduction to. Net-based Java Virtual Machine ikvm

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.