I wouldn't. Java can't deploy to iOS (without some bogus hack like IKVM, and you'll pay for it with your customers' battery life and your software's responsiveness) and has a shrinking viability--though, for now, still viable--on Windows and Macs.
If iOS is your platform. First you have to decide if you want to do a desktop game or a mobile game. Pursuing both at the same time is a bad idea for an indie developer.