I am running a Java batch file from C #. If I run it with a double click, it will succeed, but if I run it from C # code, it will give an exception in the thread
"exception in the" main "topic java.lang.NoClassDefFoundError" ..
what could be the reason and how can it be solved? I am using the code:
var si = new ProcessStartInfo();
si.CreateNoWindow = true;
si.FileName = "batch-file path";
si.UseShellExecute = true;
Process.Start(si);
source
share