Please revise your display name to meet the JavaRanch Naming Policy. To maintain the friendly atmosphere here at the ranch, we like folks to use real (or at least real-looking) names, with a first and a last name.
You can edit your display name here. Thank you for your prompt attention!
-Marc
"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer sscce.org
I find that the best way to track down problems with exec is to look at the output and error streams. I use code similar to this, although you may want to modifiy it for your particular needs.