Running a .jar from a C# program...
807600Sep 6 2007 — edited Sep 7 2007I'm posting this question in a C# forum as well, but I thought I'd post it here as well because I suspect this might be a Java problem as much as it is a .NET / C# problem.
I'm trying to run a .jar program via a C# program. I've created a C# program that will run and successfully call the .jar. That's the easy part. However, when the .jar is called, nothing happens. I created a .bat file that will run the .jar file so it will open a command prompt (so I can see what's happening). I changed my C# program to call the batch file. The batch file opens, executes, and gives me an error message. The error is: "Unable to access jarfile myProgram.jar"
Any ideas on what my problem may be? Am I going about this completely the wrong way? Do I need to do something specific to allow the .jar to run?