I've to call a java method from a C# .Net concole application.
The solution at the following link
Process myProcess = new Process();
Process.StartInfo.UseShellExecute = false;
myProcess.StartInfo.FileName = "java";
myProcess.StartInfo.Arguments = "-jar D:\\myjava.jar";
myProcess.Start();e
doesn't allow an usefull return value (e.g. a string object) from the jar file to the .Net console app.
Another approach could be use IKVM but the developments are over and it seems to be to old to be used in an stable enterprise solution.
How can I call a java method and geta string as result value?