C#通过bat调带参数的jar文件
ProcessStartInfo ps = new ProcessStartInfo(@”D:\Program Files\Java\jdk\jdk1.8.0_372\bin\java.exe”, @”-Dfile.encoding=utf-8 -cp E:\IQSEND\SrEmailService2.jar com.XXXX.ExportApi ” + mc);
ps.UseShellExecute = false;
Process.Start(ps);