I have been reading 'Head First Java' anyway, after a certain point, to run the programs therin it was necessary to install jdk 6.0, which I did, but I still get compiler error returns, even upon using code lifted directly from the headfirstlabs.com site. The book recommends this site (JavaRanch) to discuss whatever problems are thus encountered. I encountered such problems on pages 150 - 3, with the programs DotCom, DotComBust and GameHelper. They all return compiler errors, so I can't play the version of 'Battleships' as outlined.
It seems even though I am using the jdk 6.0 - the compiler won't recognise the 'enhanced loops' nor other stuff - like 'input streams' - just like the jdk 1.2 didn't. I could go into greater detail as to the error returns, but would like to know if there is a sub-site in Java Ranch that might deal with this conumdrum.
Thank you for your assistance.
Yours
Simon Evans