|Just think of it like a puzzle.|
Academic advisers have told me that if I ever expect to work under them in a lab, I better learn to code, or expect to be taught how to code. I have found a couple of resources since then to help me out. The most likely one to hold my, and your attention alike is codecademy, which treats learning to program in Java more or less like a game; you are taken through stages, given achievements, and there are even hints available. This is how I have been spending my Saturday nights as of lately.
Another option is the book Invent Your Own Computer Games With Python:
|This is a trend setting programming book|
simply for the fact that it has a cool cover.
I purchased this book when it came out, only to realise that the book was released under Creative Commons, and you can download the PDF for free. (I command you, go forth dear readers and succeed where I have once failed!) It honestly is a good book, although it is actually geared more towards children. I have also read books in the "Dummies" series, such as "C For Dummies", and as expected; these books move at a boorish pace.
The website Coding Tortoise is another place to learn Java. I believe the person running it has cut back to posting once every two weeks, but there is still a backlog of posts.