Sunday, January 1, 2012
How I can reutrn back to the main Java program after executing a batch file?
Ummm... I don't think that you'll be able to in Java. Java's memory management features may be precluding that. The garbage collector probably will decide that the Java portion is garbage when the execution is turned over to the batch file. It this point, it "collects" the memory that the Java application is loaded into. There may be some technique that I'm unaware of that allows you to stop that and resume execution. Try looking at the best reference you've got, the URL below. Otherwise, I'm guessing that this is forbidden in Java due to security. Good luck.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment