Hi, I'm a total newbie to Java. I bought the Head First Java book and plan to get going on it. However, it was written with Java 5 in mind. The book recommends downloading the following: 1.5 or greater Java 2 Standard Edition SDK and API documentation. It looks like Java is up to version 11 https://www.oracle.com/technetwork/java/javase/downloads/jdk11-downloads-5066655.html so my questions should I download the latest? Is it close enough that it will work or will I get totally lost using the new version with this book? Also what about the API documentation?
Any help I can get would be great. Any other tips?
I agree with Carey Brown. If you download the latest version it will either be backward compatible with the programming examples in your reference book. Or! At the very least your chosen IDE software will highlight code that is outdated/superseded and offer to automatically correct such outdated/superseded code!
I agree the new‑look documentaiton is not as good as the older versions, so use Java11 and the documentation for Java10. You can use any version ⩾ Java5 for HFJ, but most versions older than 8 are outdated.