I have a jar file which I want to run from within C#.
Here\'s what I have so far:
clientProcess.StartInfo.FileName = @\"java -jar C:\\Users\\Owner\\D
You need to set environment variable Path of java.exe executable or specify the full path of java.exe.
Path
java.exe
ProcessStartInfo ps = new ProcessStartInfo(@"c:\Program Files\java\jdk1.7.0\bin\java.exe",@"-jar C:\Users\Owner\Desktop\myJarFile.jar"); Process.Start(ps);