How can we use .jar file in a C# code. RRS feed

  • Question

  • Hi,

    I want to use a .jar file in my C# code.

    That is i want to call the methods from the C# code.

    Is there any direct way of doing it without conversion?

    Thanks in advance.

    Thursday, July 11, 2013 11:36 AM


  • You would need a bridge. There's an open source bridge - http://jni4net.sourceforge.net/ and several commercial bridges. I cannot comment about the quality or performance of any of them.

    DevBiker (aka J Sawyer)
    Microsoft MVP - Sql Server (StreamInsight)

    Ruminations of J.net

    If I answered your question, please mark as answer.
    If my post was helpful, please mark as helpful.

    • Marked as answer by Min Zhu Monday, July 22, 2013 7:07 AM
    Thursday, July 11, 2013 2:36 PM