Introduction to .NET-based Java virtual machine IKVM

xiaoxiao2021-03-06  108

Introduction to .NET-based Java virtual machine IKVM

???? IKVM positioning is based on the Java virtual machine based on .NET CLR. This is an open source project, home address: IKVM

What does the Java virtual machine based on .NET mean? Means that we can let the Java program run on .NET, you can work together with the Java program and .NET applications through the virtual machine.

It is more difficult to expensive, IKVM supports Microsoft .NET Framework and Mono.

The technical features of IKVM include:

1. Convert Java's byte code to the IL form of .NET in static and dynamic (running);

2, including a Java standard library, this standard library has been static into the form of .NET IL;

3. Provide force JNI interface to allow Java programs to access local resources through .NET or MONO.

4. Provide a STUB for Java call .NET class.

?

IKVM can now provide good support for JDK 1.4.

IKVM is currently immature place in the following aspects:

1 No support for AWT and Swing, this priority is not high in the development plan of IKVM.

2 No implementation on Java's security model.

?

Generally speaking, we can use IKVM in three cases:

1 Run Java programs directly under IKVM, such as:

????????????? Ikvm -jar myapp.jar

2 Use IKVM to convert Java class libraries into .NET class libraries, such as:

Ikvmc -target: library mylib.jar? Can generate: MYLIB.DLL

????? 3 Use ikvmstub to develop .NET programs with Java.

?

Some information related to IKVM projects:

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

Write a C # Code Builder ~ Discuss this interview in the Past We since the interview in 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 inpect" http://www.theserverside.com/talks/vendorpectives/mainsoft/interview.tss

转载请注明原文地址:https://www.9cbs.com/read-124574.html

New Post(0)