Hello. I have a Java program where I would prompt the user for certain information, and then, based on that information, I want to create a mathematica notebook, run it, and then get the results read from a file. I have tried to run math.exe with the following line:
Process p = rt.exec ("C:\\Program Files\\Wolfram Research\\Mathematica\\4.0\\math.exe");
but that does not work. I was wondering if anyone has any idea how I can do this?
Thank you very much