I am doing project in c# windows application, and it has 2 modules, first module is made of c#, and the second module is made using JAVA.
Can someone help me with calling my java class file from the c#???
Thanks & Regards,
Kannan.S
I am doing project in c# windows application, and it has 2 modules, first module is made of c#, and the second module is made using JAVA.
Can someone help me with calling my java class file from the c#???
Thanks & Regards,
Kannan.S
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
kannan sPosted Mar 4, 2010, 9:03 AM
Thanks.... but could you explain.....
Raaj KumarPosted Mar 4, 2010, 8:33 AM
There are multiple ways you can use. One is like making use of JNI(Java Native Interface). It is framework which allow other programming languages like C,C++ to be called. So you create a C++ project which will act as a interface between your C# and Java.
Below link has a tutorial for that.
http://java.sun.com/developer/onlineTraining/Programming/JDCBook/jni.html
More simplest way is using CSharpJavaMerger, Which is opensource framework. You can download it from here.
Regards,
raaj