我试图让使用ASP.NET C#Java编译器ASP.NET
Process p=new Process();
p.StartInfo.FileName = "C:\\Program files\\Java\\bin\\javac.exe";
p.StartInfo.UseShellExecute = false;
p.StartInfo.Arguments = "C:\\Hello.java";
p.StartInfo.RedirectStandardInput = true;
p.StartInfo.CreateNoWindow = true;
p.StartInfo.RedirectStandardOutput = true;
p.StartInfo.CreateNoWindow = true;
p.Start();
p.StandardOutput.ReadToEnd();
p.WaitForExit();
我跑的javac.exe编译Hello.java,但过程不会被允许对Java的编译器在线ASP.NET编写Hello.class磁盘
但在做手工通过CMD.EXE,而不使用ASP.NET或progmatically使用C#只有它运行完美
你能帮我使用进行在线Java编译器用于编译算法分配的ASP.NET或PHP?