C# Calls Sun Java Code - Possible ?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

is there a way to call Sun Java code from C# code ?
I have seen a way that is posted somewhere on the web that says to use
System command to spawn a DOS window and then pass a string to this window so
that the string (whihc looks like: java some_classname ) now acts as if we
are invoking java from command prompt.

But I would like to know if there is a more native way to do this, similar
to how Java calls plan old C/C++ code.

In short: Is there a JNI equivalent for C# platform ?

Thanks,

Deepak
PS: I am a C# newbie; Please elaborate your answers.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top