Close
  • Latest News
  • Artificial Intelligence
  • Video
  • Big Data and Analytics
  • Cloud
  • Networking
  • Cybersecurity
  • Applications
  • IT Management
  • Storage
  • Sponsored
  • Mobile
  • Small Business
  • Development
  • Database
  • Servers
  • Android
  • Apple
  • Innovation
  • Blogs
  • PC Hardware
  • Reviews
  • Search Engines
  • Virtualization
Read Down
Sign in
Close
Welcome!Log into your account
Forgot your password?
Read Down
Password recovery
Recover your password
Close
Search
Logo
Logo
  • Latest News
  • Artificial Intelligence
  • Video
  • Big Data and Analytics
  • Cloud
  • Networking
  • Cybersecurity
  • Applications
  • IT Management
  • Storage
  • Sponsored
  • Mobile
  • Small Business
  • Development
  • Database
  • Servers
  • Android
  • Apple
  • Innovation
  • Blogs
  • PC Hardware
  • Reviews
  • Search Engines
  • Virtualization
More
    Home Development
    • Development
    • Networking
    • Servers

    IKVM.NET Enables Developers to Run Java on .NET

    Written by

    Darryl K. Taft
    Published April 9, 2012
    Share
    Facebook
    Twitter
    Linkedin

      eWEEK content and product recommendations are editorially independent. We may make money when you click on links to our partners. Learn More.

      REDMOND, Wash. €“ Want to run Java on .NET? Take a look at IKVM.NET.

      At the Microsoft Lang.Next 2012 conference here, Jeroen Frijters, co-founder of Sumatra Software b.v. and the founder of the IKVM.NET project, demonstrated IKVM.NET, an open-source Java virtual machine on .NET.

      Frijters said IKVM is the Java VM on top of .NET and the open-source Mono project to create .NET-compatible tools and to run .NET apps cross-platform. IKVM.NET features a just-in-tine (JIT) compiler that translates Java byte code to Microsoft Intermediate Language (MSIL). It also features a static compiler that translates Java classes into .NET assemblies, which is basically an €œahead of time€ compiler for the JIT compiler. IKVM.NET also is a .NET port of the OpenJDK class library, Frijters said.

      Frijters explained that he started work on IKVM.NET in the spring of 2002 as an experiment. And in a blog post June 2002 Frijters wrote:

      €œI have a large Java application that I would like to slowly migrate to .NET. In order to be able to do that, I need a way to interoperate with Java code; the existing solutions I have looked at are inadequate. Besides, it€™s lots of fun to build something like this :-)€

      IKVM.NET is compatible with Java 7, Frijters said. It provides a full Java platform on top of the .NET Framework.

      An interesting by-product of the IKVM.NET work was IKVM.Reflection. Reflection is the process by which a computer program can observe€”do type introspection€”and modify its own structure and behavior at runtime.

      €œIKVM reflection is really nice; it€™s even bigger than IKVM itself,€ Frijters said. €œIt€™s used in the Mono C# compiler and others like Scala .NET and others.€

      Another nice benefit of Frijters€™ work is that in addition to the key benefits of a JVM implemented in .NET, a .NET implementation of the Java class libraries and tools that enable Java and .NET interoperability, is that he has the Eclipse integrated development environment (IDE) running on the Microsoft Common Language Runtime, he said. €œIt€™s actually faster than Eclipse on Java,€ he quipped.

      €œI compiled all the Eclipse code to DLLs [dynamic link libraries] to assemblies,€ Frijters said. €œI cheated a little bit. But Eclipse has OSGi and to make that compatible with .NET, I had to write about 100 lines of code.€

      Frijters€™ effort came out of a project he did for Mainsoft, he said. As a result, he completed a system for running Java on .NET that has helped many users.

      David Levelt, a software engineer at WL Delft Hydraulics in the Netherlands, explained his use of IKVM.NET:

      €œIn this part of our software, different programming languages are used. The calculations in the models are done with FORTRAN 90. The communication between models is layered. The interprocess communication is implemented in Java. The OpenMI implementation, which takes care of the communication on model level, is written in C#.

      €œTo make the connection between these communication layers, we are using IKVM. A colleague informed me about the IKVM software. I read the documentation on the Website, downloaded and started combining it with our software. It was an instant success. It solved a lot of our multi-language problems. We haven’t stopped using it.€

      Shamus Neville, a developer in the eTrading and analytics group at HSBC, said, €œWe are very happy with IKVM. It enables us to develop our core libraries in Java and compile for use in .NET. The IKVM team is very responsive and knowledgeable about the issues we were facing.€

      And in a statement a couple of years ago, Otto Perdeck, development manager at Chordiant Software, now part of Pegasystems, said, €œHaving used IKVM for over a year, we have found IKVM to work reliably and offer production-quality operation. The one time where we did run into some specific problem, the open-source nature of IKVM allowed us to quickly track down the bug and verify the cause of the problem. We had a fix for the problem the very same day.€

      Darryl K. Taft
      Darryl K. Taft
      Darryl K. Taft covers the development tools and developer-related issues beat from his office in Baltimore. He has more than 10 years of experience in the business and is always looking for the next scoop. Taft is a member of the Association for Computing Machinery (ACM) and was named 'one of the most active middleware reporters in the world' by The Middleware Co. He also has his own card in the 'Who's Who in Enterprise Java' deck.

      Get the Free Newsletter!

      Subscribe to Daily Tech Insider for top news, trends & analysis

      Get the Free Newsletter!

      Subscribe to Daily Tech Insider for top news, trends & analysis

      MOST POPULAR ARTICLES

      Artificial Intelligence

      9 Best AI 3D Generators You Need...

      Sam Rinko - June 25, 2024 0
      AI 3D Generators are powerful tools for many different industries. Discover the best AI 3D Generators, and learn which is best for your specific use case.
      Read more
      Cloud

      RingCentral Expands Its Collaboration Platform

      Zeus Kerravala - November 22, 2023 0
      RingCentral adds AI-enabled contact center and hybrid event products to its suite of collaboration services.
      Read more
      Artificial Intelligence

      8 Best AI Data Analytics Software &...

      Aminu Abdullahi - January 18, 2024 0
      Learn the top AI data analytics software to use. Compare AI data analytics solutions & features to make the best choice for your business.
      Read more
      Latest News

      Zeus Kerravala on Networking: Multicloud, 5G, and...

      James Maguire - December 16, 2022 0
      I spoke with Zeus Kerravala, industry analyst at ZK Research, about the rapid changes in enterprise networking, as tech advances and digital transformation prompt...
      Read more
      Video

      Datadog President Amit Agarwal on Trends in...

      James Maguire - November 11, 2022 0
      I spoke with Amit Agarwal, President of Datadog, about infrastructure observability, from current trends to key challenges to the future of this rapidly growing...
      Read more
      Logo

      eWeek has the latest technology news and analysis, buying guides, and product reviews for IT professionals and technology buyers. The site’s focus is on innovative solutions and covering in-depth technical content. eWeek stays on the cutting edge of technology news and IT trends through interviews and expert analysis. Gain insight from top innovators and thought leaders in the fields of IT, business, enterprise software, startups, and more.

      Facebook
      Linkedin
      RSS
      Twitter
      Youtube

      Advertisers

      Advertise with TechnologyAdvice on eWeek and our other IT-focused platforms.

      Advertise with Us

      Menu

      • About eWeek
      • Subscribe to our Newsletter
      • Latest News

      Our Brands

      • Privacy Policy
      • Terms
      • About
      • Contact
      • Advertise
      • Sitemap
      • California – Do Not Sell My Information

      Property of TechnologyAdvice.
      © 2024 TechnologyAdvice. All Rights Reserved

      Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.

      ×