My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for
Mono  
Embed Mono(.NET) in your Java applications in 5 minutes, download included
NativeLib
Updated Apr 1, 2011 by olivier.chafik@gmail.com

Introduction

Mono is a multi-platform CLR/.NET implementation written and maintained by Novell.

It makes it possible to run .NET programs on Linux, MacOS X and other unices.

A very cool feature of Mono is its Embedding C API, which is an ideal target for use from Java using JNAerated wrappers.

Downloads

You can download Mono4Java Maven artifacts from here, or use it from a Maven project with the following dependency :

<project>
  ...
  <repositories>
    ...
    <repository>
      <id>nativelibs4java</id>
      <name>nativelibs4java Maven2 Repository</name>
      <url>http://nativelibs4java.sourceforge.net/maven</url>
    </repository>
  </repositories>

  <dependencies>
    <dependency>
      <groupId>com.nativelibs4java</groupId>
      <artifactId>mono4java</artifactId>
      <version>0.1-SNAPSHOT</version>
    </dependency>
  </dependencies>
  ...
</project>

Quickstart

Read this blog entry .NET WinForms HelloWorld from Java using embedded Mono + JNAerator.

It explains how to use the examples.

Building

See the Build page. After a full build of all of NativeLibs4Java's source tree, Mono4Java's artifacts are in libraries/Mono/Mono4Java/target.

The bindings can be re-generated with mvn jnaerator:jnaerate in the Mono4Java directory.

Comment by HarriMel...@gmail.com, Aug 16, 2010

you'll make ballmer and microsoft happy


Sign in to add a comment
Powered by Google Project Hosting