I'd like to generate some bunch of algs in JACube. I can generate the input lines in my script, but I'm new in "system" programing. I don't know how to pass those lines into JACube. I wouldn't to type every line separatly.
I'd like to generate some bunch of algs in JACube. I can generate the input lines in my script, but I'm new in "system" programing. I don't know how to pass those lines into JACube. I wouldn't to type every line separatly.
It's easiest to run JACube from shell/command prompt/whatever you call it. Use < and > to tell it where to read and write. For example this is how I'd do it in Linux:I don't know if running Java programs looks different in Windows, but < and > should be exactly the same.Code:java -cp ACube3.jar ACube oa < infile > outfile
Another option is to just start ACube and paste all the input lines to it. You can give it many at a time, it will solve all of them one by one, but you'd have to keep an eye on it and save all the results manually.
Last edited by Johannes91; 09-20-2007 at 09:03 AM.
Heh, It's so simple.
Thanks a lot. I ran it on my shell, I will look how fast computers we have on university![]()
Bookmarks