And how do i start learning the basics first?just by reading?
Start by lowering your exceptions to something much smaller and manageable. A simple game like space invaders or similar should be your initial goal. You should start with basic java tutorials to get familiar with the language first before moving to starting on a game.
Only once you've written a few small games and are confident with your skills, you'll know whether your ready to attempt such a large task.
However most newbies generally learn the hard way by jumping in to a really large project, working really hard on it and then giving up after a while when they realise that the project is out of their league.