Results 1 to 5 of 5

Thread: Java within C#

  1. #1

    Thread Starter
    Addicted Member Beasts's Avatar
    Join Date
    Oct 2006
    Posts
    147

    Java within C#

    hello...
    i have come across something unusual recently.
    I am trying to embed a .jar Java executable within my c# application.
    the .jar file will be visible as a normal executable within the c# app.
    You know, sort of like an emulator?

    Is this possible and how do i do that?
    I am really desperate.
    Last edited by Beasts; Sep 7th, 2007 at 08:26 AM.

  2. #2
    I wonder how many charact
    Join Date
    Feb 2001
    Location
    Savage, MN, USA
    Posts
    3,704

    Re: Java within C#

    third link off a google search, includes example code:
    http://www.jnbridge.com/blog/?p=10

    More detailed discussion:
    http://tssblog.blogs.techtarget.com/...va-on-desktop/

  3. #3

    Thread Starter
    Addicted Member Beasts's Avatar
    Join Date
    Oct 2006
    Posts
    147

    Re: Java within C#

    checking out now...
    thanks a bunch partner

  4. #4

    Thread Starter
    Addicted Member Beasts's Avatar
    Join Date
    Oct 2006
    Posts
    147

    Re: Java within C#

    oh there is a problem...
    i have to buy JNB?
    oh...
    i suppose there is no other way...
    but there is this tiny problem now...
    if i supposedly buy JNB and make my application then distribute it wouldnt everyone have to buy JNB as well?
    Last edited by Beasts; Sep 7th, 2007 at 03:26 PM.

  5. #5
    I wonder how many charact
    Join Date
    Feb 2001
    Location
    Savage, MN, USA
    Posts
    3,704

    Re: Java within C#

    I highly doubt end users would have to buy it. It normally is a license bought by you for use in your application.

    I'm not sure you'd have to buy it for this type of scenario.

    But in the end, they are essentially doing a lot of C++ handle and event notifications between two processes. Something not for the faint of heart. And most worth the cost of purchase if necessary.

    I would contact them and ask what the cost would be, you may find its below $200. Either way, at $1000 its a bargain considering re-developing a Java app in .NET would cost at least 10x that much at developer wages.

    There's a 30-day free trial, so you can figure out if it would definitely work for you.

    Here's a good article on their product and how to implement it:

    http://www.devx.com/interop/Article/19945
    Last edited by nemaroller; Sep 7th, 2007 at 04:50 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width