IKVM

From Wikipedia, the free encyclopedia

Lua error in package.lua at line 80: module 'Module:Hatnote list' not found.

Page Module:Infobox/styles.css has no content.

IKVM
Other namesIKVM.NET
[[Programmer|Original authorTemplate:Pluralize from text]]Jeroen Frijters
[[Programmer|DeveloperTemplate:Pluralize from text]]Windward Studios, Jerome Haltom
Template:Infobox software/simple
Written inJava and C#
Operating systemCross-platform
TypeJava virtual machine, Java bytecode compiler and Java Library
Licensezlib License
WebsiteLua error in package.lua at line 80: module 'Module:If preview' not found.

Script error: No such module "Check for conflicting parameters".

IKVM (formerly IKVM.NET) is an implementation of Java for Common Language Infrastructure implementations such as Mono and the Microsoft .NET Framework. IKVM is free software, distributed under the zlib permissive free software license.[1]

Work started on IKVM early in 2000 to assist migration of a Java-based reporting package from Sumatra to Microsoft .NET. The original developer, Jeroen Frijters, discontinued work on IKVM in 2015.[2] In 2018, Windward Studios forked IKVM.NET to continue development on the open-sourced IKVM.[3] In 2022 Jerome Haltom and others picked up the work on a new GitHub organization and finished .NET Core support.[4]

Components

IKVM includes the following components:

IKVM can run compiled Java code (bytecode) directly on Microsoft .NET or Mono. The bytecode is converted on the fly to CIL and executed.

By contrast J# is a Java syntax on the .NET framework, whereas IKVM is effectively a Java framework running on top of the .NET framework.

Jeroen Frijters was the main contributor to IKVM. He is Technical Director of Sumatra Software, based in the Netherlands.[5]

Name

The "IKVM" portion of the name is a play on "JVM" in which the author "just took the two letters adjacent to the J".[6]

Status

IKVM 8 implements Java 8.

The IKVM organization also maintains IKVM.Maven.Sdk,[7] an extension to the .NET PackageReference system that allows direct references to and transpiling of Maven artifacts. IKVM.Maven.Sdk is also available on NuGet.org.[8]

Example

The following is a .NET application written in Java, which prints the list of files in the current directory.

Note that in IKVM, the System.* namespace in .NET is written as cli.System.*.[9]

package org.wikipedia.examples;

import cli.System.IO.*;

public class Example {
    public static void main(String[] args) {
        String[] files = Directory.GetFiles(".");
        for (String file : files) {
            System.out.println(file);
        }
    }
}

See also

Lua error in mw.title.lua at line 404: bad argument #2 to 'title.new' (unrecognized namespace name 'Portal').

References

Page Template:Reflist/styles.css has no content.

  1. ^ Page Module:Citation/CS1/styles.css has no content."License". www.ikvm.net. Archived from the original on 2020-02-22. Retrieved 2007-03-10.
  2. ^ Page Module:Citation/CS1/styles.css has no content."The End of IKVM.NET". Archived from the original on 2017-07-18. Retrieved 2017-07-22.
  3. ^ Page Module:Citation/CS1/styles.css has no content."IKVM is alive & well". www.windwardstudios.com.
  4. ^ Page Module:Citation/CS1/styles.css has no content."IKVM - Java Virtual Machine for .NET". GitHub. 27 August 2022.
  5. ^ Page Module:Citation/CS1/styles.css has no content."Sumatra Software b.v." Retrieved 2014-04-30.
  6. ^ Page Module:Citation/CS1/styles.css has no content."osdir mailing list archive for java.ikvm.devel". Archived from the original on 2012-12-27. Retrieved 2012-10-09.
  7. ^ Page Module:Citation/CS1/styles.css has no content."IKVM.Maven.Sdk". GitHub.
  8. ^ Page Module:Citation/CS1/styles.css has no content."IKVM.Maven.Sdk". www.nuget.org.
  9. ^ Page Module:Citation/CS1/styles.css has no content."IKVM Tutorial". ikvm.org. Windward Studios, Jerome Haltom. 2023.
  • No URL found. Please specify a URL here or add one to Wikidata.
  • ikvm on GitHub

Lua error in package.lua at line 80: module 'Module:Navbox/configuration' not found.