This week's book giveaway is in the Mac OS forum. We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line! See this thread for details.
this code you wrote is a nonsense. The for loop in Java consists of three parts:
1. the initial statement
2. the condition, under which the the code can proceed with the itetration
3. the iteration expression
You have four expressions there, so the code will not compile.
You can rewrite your loop to this form in order to compile: