Organizational Research By

Surprising Reserch Topic

how to execute a java program from c using -'c#,java'

how to execute a java program from c  using -'c#,java'

Wondering if anyone knows a nice way to execute a Java command-line program from C# code at run-time ?  

Is it the same as executing native .EXE files ?  

Will it run synchronously or asynchronously (which means I may have to wait for the thread to finish to find out the results)

Specifically I would like to call a little utility (which happens to be written in Java) from a web-application on the server side to do some processing on a text file.  I want to wait for it to finish because after the Java program is done processing the text file I want to grab the processed text, and use it within the C# application.

asked Sep 7, 2015 by rajesh
0 votes

Related Hot Questions

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.