Java Vs .Net


Untitled1576350It is very difficult to rationalize which is better Java or dotNet. Both have their points to back up. Java’s tag line “Write once; Run anywhere.” says just go the way as  provided by me and I assurance, you can run it anywhere and will get the same result, while on opposite dotNet’s tag line “Write in any language; Run on Windows.” says hey!! come and use any language you are comfortable with and I assure you, you will get the same result.

Java facilitates a variety of web servers to run its web application while dot net supports IIS to host applications. Not many options are available in case of dotnet.

Java is a programming language while dotnet is a framework which supports multiple languages to run on windows platform.

View original post 57 more words

Run Java 8 Code on .NET with IKVM

IKVM is a JVM built on top of the CLR that is working towards full compatibility. It runs on both .NET and Mono and, as of this release candidate, supports Java through version 8. For class libraries, it uses OpenJDK 8.

IKVM offers two modes. In dynamic mode, it runs Java applications directly just like any other virtual machine. In static mode, Java byte code is recompiled into .NET libraries and executables.

When working with Java code that is intended for running on IKVM, you can import .NET classes by prefixing the namespace with “cli.”. In order to satisfy the Java compiler, this requires generating the appropriate Java stubs using the ikvmstub utility.

Blog at

Up ↑