got it compiled and running in eclipse. still throws error when trying to run from command line