An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
If your program accepts command-line arguments, then you can use the second parameter of Process.Start, or the Arguments property of ProcessStartInfo, to pass the data to your Java program. (For example, I case of javac program, you can execute “javac MyProgram.java”; here MyProgram.java is the argument). If the Java program is made by you, then adjust it to accept arguments.