Why don't you just right click on the main() method and choose "Debug As... Java Application"?