I have been thinking about this as well but know pretty much zilch...
I went to a website called
www.codecademy.com to start and mess around. They have 4 or 5 different codes to start messing with. I started with python but will look to java as well.