示例#1
0
        private void CompileJavaSnippet()
        {
            JavaServices.ResetJavaTempPath();
            JavaSnippet program = JavaCode();
            string      stdout  = JavaServices.CompileJavaCode(program.MainClassFile, program.SourceCode);

            Console.WriteLine(stdout);
        }
        private void CompileJavaCode()
        {
            JavaSnippet snippet = JavaCode();

            JavaServices.ResetJavaTempPath();
            string @out = JavaServices.CompileJavaCode(snippet.MainClassFile, PopulateItemValues(snippet.SourceCode));

            Console.Error.WriteLine(@out);
        }