Incorporate Java compiler in C#?

Dear all,

i am new to C# and would like to know if i can create a program using Visual C# and incorporate a java compiler to run and compile java source codes in my C# program..

All assistance is appreciated.



Answer this question

Incorporate Java compiler in C#?

  • Hazara

    Side comment: you need some better smilies, that guy looks like he's biting his tongue off or eating a candy bar than sticking his tongue out...


  • Seidel1

    xRuntime wrote:
    Side comment: you need some better smilies, that guy looks like he's biting his tongue off or eating a candy bar than sticking his tongue out...

    What about this Or



  • abhas

    Hello,

    See:

    System.Diagnostic.Process.Start("java compiler path", "command linearguments as javaprogram path"); Method

    First Parameter is path of the file to execute and second parameter is command like arguments to that exe.

    I hope you know what to do next .

    Cheers ;-)



  • Incorporate Java compiler in C#?