Groups | Blog | Home
all groups > visual c libraries > august 2005 >

visual c libraries : Can C# Invoke Sun Java ?


Deepak
8/4/2005 2:42:09 PM
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.
Jacky Kwok
8/5/2005 12:00:00 AM
[quoted text, click to view]

It may be what you want

"http://www.jnbridge.com/"


--
Jacky Kwok
jacky@alumni_DOT_cuhk_DOT_edu_DOT_hk
j-integra_support NO[at]SPAM intrinsyc.com
8/5/2005 8:09:47 AM
J-Integra Espresso allows you to access Java objects from C# (or any
..NET client)...
http://j-integra.intrinsyc.com/products/espresso/

Shane Sauer
J-Integra Interoperability Solutions
http://j-integra.intrinsyc.com/
When Web Services are not enough
gg
8/6/2005 1:55:43 PM
If you happen have PowerBuilder from Sybase(version & and up preferably 9 or
10) you can use PBNI to set something up to run Java for your .net app. If
you happen to have PB, the advantage of this approach is no additional
capital outlay and there are examples from newsgroup and documentations

[quoted text, click to view]

AddThis Social Bookmark Button