Downgraded to JDK 1.6 (6)
-Removed use of "PATH" object as it is not supported in 1.6
-Added statement to "close" input reader
Downgraded to JSK 1.6