The Java libraries in your .NET application

Java libraries in .NET application – research

I have a problem to solve. How can I work with Java libraries and graphic frameworks (WPF, Windows Forms) from .NET in a single application ? I found solving on page IKVM.NET.

IKVM.NET – what is it ?

It is an implementation of Java for Mono and the Microsoft .NET Framework

It contains:

  • .NET implementation of a Java Virtual Machine
  • A .NET implementation of the Java class libraries
  • Tools that enable Java and .NET interoperability

The most interesting part of IKVM.NET for me are tools that enable Java and .NET interoperability. For example, ikvmc is a translator from Java bytecode to .NET IL. If you have a Java library that you would like to use in a .NET application, run ikvmc -target:library mylib.jar to create mylib.dll.

The thing I want to use in my project, is programmatically called operation to convert a jar library file to a dll library.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s