|
Mono
Embed Mono(.NET) in your Java applications in 5 minutes, download included
NativeLib
IntroductionMono 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. DownloadsYou 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>QuickstartRead this blog entry .NET WinForms HelloWorld from Java using embedded Mono + JNAerator. It explains how to use the examples. BuildingSee 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. |
you'll make ballmer and microsoft happy