[Program] OpenSource - Running Platform - IKVM.NET (Based on .NET Java Virtual Machine)

xiaoxiao2021-03-06  42

Ikvm.net

What is based on

.NET CLR

of

Java

virtual machine. it

Is an open source project, home address: http://www.ikvm.net/

.

Based on .NET-based Java virtual machine means that we can let Java programs 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:

Can static and dynamic (runtime)

Java

Byte code conversion to

.NET

of

IL

form;

Comprise a

Java

Standard library, this standard library is static compiled into

.NET IL

form;

Provide

JNi

Interface, let

Java

Program

.NET

or

Mono

Access local resources.

Awarded a supply

Java

transfer

.NET

Category

STUB

.

IKVM can now provide good support for JDK 1.4. IKVM is currently immature place in the following aspects:

AWT and SWING

No support,

Ikvm

This priority is not high in the development plan.

Correct

Java

The security model is not implemented.

Generally speaking, we can use IKVM in three cases:

Directly

Ikvm

Run down

Java

Program, such as:

Ikvm -jar myapp.jar

use

Ikvm

Come

Java

Class library conversion

.NET

Class libraries, such as:

Ikvmc -target: library mylib.jar

?

Can generate:

MYLIB.DLL

use

Ikvmstub

Use

Java

Develop

.NET

program.

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 http://weblog.ikvm.net/

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

New Post(0)