So I have code and it outputs using the standard System.out.print commands. In winXP, when I compiled this into a .jar file, and used eg. javaw -jar path.jar, it would open a command prompt-style...
Type: Posts; User: Yaten13
So I have code and it outputs using the standard System.out.print commands. In winXP, when I compiled this into a .jar file, and used eg. javaw -jar path.jar, it would open a command prompt-style...
Btw, I hadn't tried this, but it was clear from the program output that it was just hanging b/c it wasnt getting the input.
After trying a thousand variations on buffered writers, this seems to work. Don't ask me why, but I thought write should output arguments to the program, but it never did until I added the flush. So,...
If the file that is to capture the output from the program already exists, it just deletes it
I'm working on a biology project that requires me to run little apps from java. The code below was borrowed and works 99% of the time. I send it a command which it executes like typing it into...